Rational Developer for System z

Installing the API samples

The Remote Resource Access API is shipped with samples that can serve as a starting point for using the API.
To import the Remote Resource Access API samples into your workspace:
  1. From the Rational® Developer for System z® menu bar, click Window > Open Perspective > Other.
  2. From the Open Perspective window, select Plug-in Development and click OK.
  3. Click File > Import.
  4. On the Import window, expand Plug-in Development, click Plug-ins and Fragments, and then click Next.
  5. In the Import From area of the Import Plug-ins and Fragments window, clear the check box next to The target platform and click Browse.
  6. In the Plug-in Directory window, navigate to the com.ibm.ftt.api.samples plugin and click OK.. This plugin is located in the rdz\api-samples folder of your Rational Developer for System z installation path, for example, c:\Program Files\IBM\SDP\rdz\api-samples\eclipse\plugins.
  7. In the Import As area of the Import Plug-ins and Fragments window, select the Projects with source folders check box and click Next.
  8. In the Selection window, select the plugin name in the left pane and then click Add and Finish. The samples plugin is added to the Package Explorer.
    Package explorer with API samples plugin
  9. To see how the samples integrate with Rational Developer for System z, you need to define and start a runtime configuration.
    1. Select com.ibm.ftt.api.samples in the Package Explorer and then click Run > Run Configurations to open the Create, manage and run configurations wizard.
    2. Double-click Eclipse Application from the list of configurations to open the new configuration page.
    3. In the Name field, type a name of your choice and in the Location field, type a location of your choice. For example, you might type Resource API configuration in the name field and ${workspace_loc}/../Resource API configuration to create a configuration in the current workspace.
    4. Click the Run a product radio button and then select com.ibm.rational.developer.systemz.product.ide from the drop-down list.
    5. Click Run to start the runtime configuration.
    A runtime Rational Developer for System z workbench opens with the z/OS® Projects perspective. This runtime workbench opens in a new workspace, separate from the originating workspace. The menu bar in the new workspace contains a new menu called API Samples. Some of the pop-up menus contain API Sample Actions. The results of some of these actions are displayed in the Console view of the originating workspace. For more information, see the descriptions of the samples in the Remote Resource Access API topics in Help Contents.
    API Samples menu

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)