Twitter Logo Follow us on Twitter
Project Information About this project

Target Installation

RAP applications need to be compiled against the RAP runtime. To do so, the runtime needs to be set as the target platform in Eclipse. This can either be done by the RAP Tooling or manually.

  1. Open Window > Preferences and go to the Plug-in Development > Target Platform preference page.
  2. Add a new target definition and initialize it with "nothing".
  3. On the next page, click Add and choose Software Site from the Add Content wizard.
  4. On the following page, enter the URL to the RAP software repository in the Work with field and press enter. These repositories are currently available:
    • RAP 1.2: http://download.eclipse.org/rt/rap/1.2/runtime-update
    • RAP 1.3: http://download.eclipse.org/rt/rap/1.3/runtime
    • RAP 1.4: http://download.eclipse.org/rt/rap/1.4/runtime
    • RAP 1.5: http://download.eclipse.org/rt/rap/1.5/runtime
  5. Select the target to install from the list below.
  6. Make sure the checkbox Include required software is not checked.
  7. Click Finish. After the download is completed, click Finish again to save the new target definition.
  8. Activate the new target on the target platform preference page.

Note: if doing this with a workspace that already contains projects that depend on the target, you may get compile errors. Restarting Eclipse and/or doing a clean build will help.