Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 3 KB

File metadata and controls

42 lines (31 loc) · 3 KB

Building the RAP Example Applications

The pom.xml in this project helps build the .war files of the RAP demo projects. By default, the p2 repositories created from the nightly RAP and RAP Incubator builds are used (see below).

mvn -e clean verify

At the moment it generates three .war files that can be deployed in any web container: rapdemo.war, workbench.war, controls.war.

The RAP Examples Demo (rapdemo.war) requires bundles from additional projects. These bundles need to be compiled externally and added to the .war file manually.

Online demos to see RAP applications in action

RAP Examples Demo RAP Examples Demo
This application shows samples of the widgets available in RAP.
Please note that it does not represent the complete widget set, but only a small selection.

See the examples demo online
RAP Workbench Demo RAP Workbench Demo
This demo shows a simple application based on the Eclipse 3.x workbench that is built on top of RAP. Though it is not meant to be production ready it shows a good deal of the framework's possibilities, including views, menus, and the selection service.
To demonstrate how this application looks with different themes and layouts, a standard theme, business theme and a fancy theme are available.

See the workbench demo online
RAP Controls Demo RAP Controls Demo
This application shows the various available controls that are available in RAP.

See the controls demo online

Changing the default p2 repositories

The default build uses the nightly build from the RAP Runtime project and the nightly build of the RAP Incubator projects. This default behavior can be changed by setting the properties rap-repo.url and rap-incubator-repo.url.

Example with RAP 3.0 and RAP Incubator builds for 3.0:

mvn -e \
  -Drap-repo.url=http://download.eclipse.org/rt/rap/3.0/ \
  -Drap-incubator-repo.url=http://download.eclipse.org/rt/rap/incubator/3.0/ \
  clean verify