Runtime SDK Installation

RAP applications need to be compiled against the RAP Runtime SDK. To do so, the SDK 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, choose Software Site
  4. On the following page, enter the RAP repository (http://download.eclipse.org/rt/rap/1.2/runtime-update) in the Work with field and press enter.
  5. Select 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.