blob: 1070faf540b677e3a0eb8546ef65b0a031d4a5cf [file] [log] [blame]
The pom.xml in this project helps to assemble the .war files of the
RAP demo projects. As a default it uses the p2 repositories that are
created from the nightly RAP and RAP incubator builds (see below).
mvn -e clean install
At the moment it generates three .war files that can be deployed in
any web container: controlsdemo.war, rapdemo.war, workbenchdemo.war.
The RAP Examples Demo requires bundles from additional projects. See
below for instructions on how to add them to the .war files.
* Google Maps:
* Rich Text Editor:
* Complex Data:
Changing the default p2 repositories
The default build uses the nightly build from the RAP Runtime project,
the nightly build of the RAP Incubator projects, and the last stable
Simultaneous Release repository. This default behaviour can be changed
by setting the following properties
rap-incubator-repository, and
Example with RAP 2.0 final and RAP Incubator builds for 2.0:
mvn -e \
-Drap-repository= \
-Drap-incubator-repository= \
clean install
Adding additional pre-built bundles to .war files
(1) Copy the bundles into the project directory
(2) Run the Ant build "RAP Examples - local p2 repo build" from within
Eclipse (/
(3) Add the new bundle to the feature.xml that describes the content of
your .war file.
(4) Ensure that the appropriate start-levels are set in the .product
file of your .war product.
(5) Run the standard Tycho/Maven build in project root.