From: Editor Lionbridge Date: Tue, 25 Oct 2016 11:47:42 +0000 (+0300) Subject: [LB] New Platform IDE content added to Tizen Studio X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F93727%2F6;p=sdk%2Fonline-doc.git [LB] New Platform IDE content added to Tizen Studio PS2: [LB] Fixed based on query answers PS6: Changed to show Mobile & Wearable native icons. Change-Id: I20b6c1a8ffe965cb9f25f1a60ca6ed303134fb8b --- diff --git a/org.tizen.studio/html/cover_page.htm b/org.tizen.studio/html/cover_page.htm index 40a2f6f..a72efd2 100644 --- a/org.tizen.studio/html/cover_page.htm +++ b/org.tizen.studio/html/cover_page.htm @@ -49,6 +49,9 @@
  • Web Tools

    Learn about the available Web application development tools. Web applications are developed using the JavaScript, HTML, and CSS programming languages. You can create an application project, edit the code to meet your needs, and run the application on the emulator, simulator, or a target device.

  • +
  • Platform Tools +

    Learn about the platform development environment that helps you develop preloaded platform applications, platform libraries, and device drivers in Ubuntu.

    +
  • The Tizen Studio contains many tools familiar from the old Tizen SDK, just with some improvements. The following list describes the main changes:

    diff --git a/org.tizen.studio/html/images/platform_codedump_files.png b/org.tizen.studio/html/images/platform_codedump_files.png new file mode 100644 index 0000000..5805e0b Binary files /dev/null and b/org.tizen.studio/html/images/platform_codedump_files.png differ diff --git a/org.tizen.studio/html/images/platform_gbs_options.png b/org.tizen.studio/html/images/platform_gbs_options.png new file mode 100644 index 0000000..18404e5 Binary files /dev/null and b/org.tizen.studio/html/images/platform_gbs_options.png differ diff --git a/org.tizen.studio/html/images/platform_package_manager.png b/org.tizen.studio/html/images/platform_package_manager.png new file mode 100644 index 0000000..a9ef1e2 Binary files /dev/null and b/org.tizen.studio/html/images/platform_package_manager.png differ diff --git a/org.tizen.studio/html/images/platform_packages.png b/org.tizen.studio/html/images/platform_packages.png new file mode 100644 index 0000000..615ae6e Binary files /dev/null and b/org.tizen.studio/html/images/platform_packages.png differ diff --git a/org.tizen.studio/html/images/platform_po_add.png b/org.tizen.studio/html/images/platform_po_add.png new file mode 100644 index 0000000..e403f89 Binary files /dev/null and b/org.tizen.studio/html/images/platform_po_add.png differ diff --git a/org.tizen.studio/html/images/platform_po_file_editor.png b/org.tizen.studio/html/images/platform_po_file_editor.png new file mode 100644 index 0000000..7460241 Binary files /dev/null and b/org.tizen.studio/html/images/platform_po_file_editor.png differ diff --git a/org.tizen.studio/html/images/platform_project_wizard.png b/org.tizen.studio/html/images/platform_project_wizard.png new file mode 100644 index 0000000..0f81154 Binary files /dev/null and b/org.tizen.studio/html/images/platform_project_wizard.png differ diff --git a/org.tizen.studio/html/images/platform_rootstrap.png b/org.tizen.studio/html/images/platform_rootstrap.png new file mode 100644 index 0000000..f7c748a Binary files /dev/null and b/org.tizen.studio/html/images/platform_rootstrap.png differ diff --git a/org.tizen.studio/html/images/platform_rootstrap_view.png b/org.tizen.studio/html/images/platform_rootstrap_view.png new file mode 100644 index 0000000..37416c3 Binary files /dev/null and b/org.tizen.studio/html/images/platform_rootstrap_view.png differ diff --git a/org.tizen.studio/html/images/platform_specfile_editor.png b/org.tizen.studio/html/images/platform_specfile_editor.png new file mode 100644 index 0000000..8f19634 Binary files /dev/null and b/org.tizen.studio/html/images/platform_specfile_editor.png differ diff --git a/org.tizen.studio/html/index.htm b/org.tizen.studio/html/index.htm index 2cef7cd..661165f 100644 --- a/org.tizen.studio/html/index.htm +++ b/org.tizen.studio/html/index.htm @@ -188,6 +188,11 @@
  • Keyboard Shortcuts
  • +
  • Platform Tools + +
  • diff --git a/org.tizen.studio/html/platform_tools/cover_platform.htm b/org.tizen.studio/html/platform_tools/cover_platform.htm new file mode 100644 index 0000000..aa3158e --- /dev/null +++ b/org.tizen.studio/html/platform_tools/cover_platform.htm @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + Developing Tizen Platform with the Tizen Studio + + + + +
    +
    +

    Mobile native Wearable native

    +
    +
    +

    Dependencies

    +
      +
    • Tizen Studio 1.0.1 and Higher
    • +
    • Ubuntu Only
    • +
    +

    Content

    + +
    +
    + +
    +

    Developing Tizen Platform with the Tizen Studio

    + +

    The Tizen Studio provides a platform development environment that helps you develop preloaded platform applications, platform libraries, and device drivers in Ubuntu.

    + + + + + + + + + + +
    Note
    Platform development is supported in Ubuntu 14.04 and higher (32- or 64-bit) only.
    + +

    By using the Tizen Studio for Ubuntu, you can, for example:

    + +
      +
    • Compile the platform modules with appropriate architecture and rootstrap.
    • +
    • Debug the platform modules with the correct rootstrap.
    • +
    • Update the rootstrap automatically.
    • +
    + +

    To use the Tizen Studio, download it from https://developer.tizen.org/development/tizen-studio/download. For more information about the development tools, see Platform Development Tools.

    + +

    Prerequisites for Using the Platform IDE

    + +

    To use the platform IDE, you must install the GBS and MIC development tools and set up the development environment, including the git, gerrit, and proxy configuration. For more information, see Installing Development Tools.

    +
      +
    • Git Build System (GBS): command line tool that supports Tizen package development.
    • +
    • Image Creator (MIC): command line tool that supports Tizen image creation.
    • +
    + +

    For more information about the following issues, see Setting up Development Environment:

    + +
      +
    • How to register a user account to gain access to tizen.org
    • +
    • How to configure Secure Shell (SSH) for the gerrit access
    • +
    • How to configure the git
    • +
    + +

    If your system is using a proxy server, you must configure your proxy server environment. For more information, see Network Connections.

    + +

    Platform Development Process

    + +

    The platform development process consists of the following steps:

    +
      +
    1. Creating a platform project
    2. +
    3. Building the platform project
    4. +
    5. Running the platform module
    6. +
    7. Debugging the platform module
    8. +
    + +

    Creating a Platform Project

    + +

    The Tizen Studio provides functionality for creating projects from templates using the Platform Project Wizard.

    +

    To use the Platform Project Wizard:

    + +
      +
    1. In the Tizen Studio menu, select File > New > Other > Tizen > Tizen Platform Project.
    2. +
    3. In the Tizen Platform Project Wizard, select a sample (for example, Hello EFL). +

      If the project option you want does not appear, check that you are using the correct perspective (Tizen Platform). To switch perspectives, go to Window > Perspective > Open Perspective > Other and select the perspective you want.

    4. +
    5. Fill in the project details and click Finish. +

      File analysis

      +
    6. +
    + +

    Building the Platform Project

    + +

    After building your Tizen platform project, you can run and debug the platform. To build and package your Tizen platform project:

    +
      +
    1. Select a project in the Project Explorer view.
    2. +
    3. Select a rootstrap in the Rootstrap View.
    4. +
    5. In the Project Explorer view, right-click the project and select Build Project. +

      A dialog box appears and monitors the progress of building and packaging the project.

      +

      After packaging is completed, the package file is located in the $<PROJECT_NAME>\Debug or $<PROJECT_NAME>\Release folder within the project folder.

    6. +
    + +

    If an error message appears in the Console view due to dependency problems, open the Package Manager and install the needed packages for building the project. After the installation is completed, rebuild the platform project to confirm that the dependency problems have been solved.

    + +

    GBS Options

    + +

    The Git Build System (GBS) builds a platform project internally. You can set the GBS options in the IDE.

    +

    For more information about GBS, see Git Build System.

    + +

    Figure: GBS options

    +

    GBS options

    + +

    To set the GBS options:

    + +
      +
    1. In the Project Explorer view, right-click the project and select Properties > C/C++ Build > Tizen Settings > GBS Options.
    2. +
    3. Set the options.
    4. +
    5. Click OK.
    6. +
    + +

    Running the Platform Module

    + +

    To run the platform project:

    + +
      +
    1. Connect a device to your computer and select the device in the Connection Explorer view.
    2. +
    3. In the Project Explorer view, right-click the project and select Run As > Tizen Platform Project.
    4. +
    5. Choose the install command, such as RPM or pkgcmd.
    6. +
    7. In the Launch Configuration dialog, click Next.
    8. +
    9. Type the command and arguments, and click Finish.
    10. +
    + +

    Debugging the Platform Module

    + +

    The Platform IDE provides 3 different solutions to debug a platform project: basic, attach, and coredump debug.

    + +

    Basic Debug Process

    + +

    To debug the project:

    +
      +
    1. Connect a device to your computer and select the device in the Connection Explorer view.
    2. +
    3. Select a project to debug in the Project Explorer view.
    4. +
    5. Set breakpoints in the source code.
    6. +
    7. In the Project Explorer view, right-click the project and select Debug As > Tizen Platform Project.
    8. +
    9. Choose the install command, such as RPM or pkgcmd, for the device and rootstrap.
    10. +
    11. In the Launch Configuration dialog, click Next.
    12. +
    13. Type a command or select the executable file with the Remote Browse button, and click Finish.
    14. +
    + +

    Attaching a Debug Process

    + +

    To attach a debug process to the project:

    +
      +
    1. Connect a device to your computer and select the device in the Connection Explorer view.
    2. +
    3. Select a project to debug in the Project Explorer view.
    4. +
    5. Set breakpoints in the source code.
    6. +
    7. In the Project Explorer view, right-click the project and select Debug As > Tizen Platform Project - Attach.
    8. +
    9. In the Launch Configuration dialog, select a process: +
      1. Click Browse, and select the process to attach.
      2. +
      3. Click Finish.
      4. +
      +
    + +

    Coredump Debug Process

    + +

    To debug a coredump archive:

    +
      +
    1. Connect a device to your computer.
    2. +
    3. In the Connection Explorer view, select the device for which a coredump archive to debug exists (for example, /opt/usr/share/crash/).
    4. +
    5. In the Project Explorer view, right-click the project and select Debug As > Tizen Platform Project – Coredump.
    6. +
    7. In the Launch Configuration dialog, select a core dumped file (*.coredump) and CS file (*.cs) by clicking Remote Browse or Local Browse. +

      Selecting files

      +

      If the coredump information is displayed, click Next, select a rootstrap, and click Next again. (It takes about 1~5 minutes when installing the required libraries.)

      +

      Selecting rootstrap

      +
    8. +
    9. Manage the packages: +
        +
      1. Check whether the packages are installed successfully.
      2. +
      3. If there is package problem, click Package Manager and install packages. +

        Checking packages

        +
      4. + +
      5. Click Finish, if it is enabled.
      6. +
    + + + +
    + +Go to top + + + + + + + diff --git a/org.tizen.studio/html/platform_tools/platform_tools.htm b/org.tizen.studio/html/platform_tools/platform_tools.htm new file mode 100644 index 0000000..40036c8 --- /dev/null +++ b/org.tizen.studio/html/platform_tools/platform_tools.htm @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + Platform Development Tools + + + + +
    +
    +

    Mobile native Wearable native

    +
    +
    +

    Dependencies

    +
      +
    • Tizen Studio 1.0.1 and Higher
    • +
    • Ubuntu Only
    • +
    +

    Content

    + +
    +
    + +
    +

    Platform Development Tools

    + +

    The Tizen Platform IDE provides several tools to help your platform development tasks: Rootstrap View, Package Manager, Specfile Editor, content assist features, and PO file editor.

    + +

    Rootstrap View

    + +

    The Rootstrap View displays available rootstraps and the currently selected rootstrap. In the view, you can select, create, and remove a rootstrap, and also manage packages.

    + +

    Figure: Rootstrap View

    +

    Rootstrap View

    + +
      +
    • To set a rootstrap to the project, right-click the desired rootstrap and select Select.
    • +
    • To export a rootstrap as a compressed TAR file, right-click the desired rootstrap and select Export.
    • +
    • To create a rootstrap based on a remote repository: +
        +
      1. In the Rootstrap View toolbar, click +.
      2. +
      3. In the Rootstrap Generation wizard, you can add, remove, and modify the repositories. You can also change the repository order. +

        Select the Architecture value and click Finish. If the Generate Immediately check box is selected, the rootstrap is created immediately.

      4. +
    • + +
    • To remove the rootstrap, right-click the desired rootstrap and select Remove.
    • + +
    • To manage the rootstrap packages, use the Package Manager. +

      To run the Package Manager for a rootstrap, right-click the desired rootstrap and select Manage Packages.

    • +
    + +

    Package Manager

    + +

    To run the Package Manager, right-click the desired rootstrap and select Manage Packages. By selecting the applicable tab in the Package Manager, you can install packages to the rootstrap or the device.

    + +

    Figure: Package Manager

    +

    Package Manager

    + +

    On both tabs:

    +
      +
    • Repositories panel: +
        +
      • Add: Add a new package repository to the list.
      • +
      • Modify: Modify the selected repository.
      • +
      • Remove: Remove the selected repository from the list.
      • +
      • Move: Move the selected repository up and down on the list.
      • +
      +
    • +
    • Packages panel: +
        +
      • Refresh: Resynchronize the package index files from the package repositories. If the repositories are changed, the package index is refreshed.
      • +
      • Upgrade: Perform a distribution upgrade.
      • +
      • Install: Install selected packages.
      • +
      • Install Local: Install the selected package files (.rpm).
      • +
      • Uninstall: Uninstall selected packages.
      • +
      • Filter: Search for a package.
      • +
      +

      To view detailed information about each package, right-click the package name and select Properties.

      +
    • +
    • Log panel shows the logs for the packaging commands.
    • +
    + +

    Specfile Editor

    + +

    The Specfile Editor Plug-in for the Eclipse provides useful features to help you manage .spec files. The plug-in allows you to leverage several Eclipse GUI features in editing the .spec files, including an outline view in the editor, auto-completion, highlighting, file hyperlinks, and folding.

    + + + + + + + + + + +
    Note
    The Tizen platform IDE does not support features relevant to rpmlint and createrepo.
    + +

    To set the Specfile Editor configuration, go to Window > Preferences > Others > Specfile Editor in the IDE toolbar. For more information, see Help Contents > Specfile Editor User Guide > Configuring Specfile Editor Settings.

    + +

    Figure: Specfile Editor

    +

    Specfile Editor

    + +

    Content Assist

    + +

    The Tizen Platform IDE provides the API assist and API hover features to make writing content in the Platform editor quick and efficient:

    + +
      +
    • API assist +

      This feature is used for writing and editing source code. It helps to create content faster by providing suggestions for the APIs that are already present. A list of API methods, keywords, and macros defined in the Platform API Reference is displayed when you enter prefix words that match related items.

    • +
    • API hover +

      This features displays information about API methods and API-related types and macros for the platform framework.

      +
    + +

    PO File Editor

    + +

    The PO file editor is used to edit .po files to generate compiled gettext .mo files, which are used by Tizen platform applications to localize the user interface.

    + + + + + + + + + + +
    Note
    There is no specific wizard to create the .po files. To create a .po file, go to New > Other > General > File and save the file with the .po extension.
    + +

    Figure: PO file editor

    +

    PO file editor

    + +
      +
    • To open the PO file editor, double-click the .po file in the Project Explorer view.
    • +
    • To add a new string key, click the Add String Key icon. +

      An empty row is added to the string table. Fill in the details for the row.

    • +
    • To remove a string key, right-click the key and select Remove.
    • + +
    • To add a language, click the Add Language icon. +

      In the Add Languages dialog, select the language code item you want.

      +

      Figure: Adding a language

      +

      Adding a language

      +
    • +
    • To remove a language, in the Supporting Languages pane, click the Remove Language icon and select the applicable language code item in the Remove Languages dialog.
    • +
    + + + +
    + +Go to top + + + + + + + diff --git a/org.tizen.studio/index.xml b/org.tizen.studio/index.xml index 71673c6..03a22d0 100644 --- a/org.tizen.studio/index.xml +++ b/org.tizen.studio/index.xml @@ -123,5 +123,8 @@ + + + - \ No newline at end of file +