Skip to content
mkalam-alami edited this page Sep 29, 2011 · 16 revisions

Prerequisites

Instructions to setup these applications (including Git) are detailed on this page. In short, you will need:

  • Sun's 1.6 Java JDK
  • Maven 2
  • Buildr
  • Nuxeo DM 5.4.2 (with Derby as a database, which is set by default)
  • node.js

Please note that for now, it only works on Linux. It might work on Windows with Cygwin, but it has not been tested at the moment.

Set up

You will need to clone several repositories in the same folder (including this one). At least three repositories are needed, according to [which version of the demo you want to build](EasySOA repositories).

Building the distribution / releasing EasySOA

Build and run

Copy the build.yaml configuration file to ~/.buildr/settings.yaml and edit it at will (make sure the Nuxeo and node paths are valid), then run the following command from the easysoa-demo-dist folder:

buildr buildall packageall

To launch EasySOA, type these commands:

cd easysoa
./run.sh

Build and package release

Modify the build.yaml file constants according to your config (especially the Nuxeo path, since Nuxeo is not included in our repositories). Then, run the following command, from the easysoa-demo-dist folder:

buildr buildall packageall tgz

Task list

Global tasks

  • buildr buildall builds all needed projects
  • buildr packageall creates an EasySOA folder including all components
  • buildr tgz creates a zip from the EasySOA package

Specific tasks

This help is available from the command line, by typing buildr help.

buildall                       # Builds all needed projects
nx_clean                       # Cleans all registry components
nx_dist                        # Deploys registry components
nx_mvn                         # Builds registry components using Maven
package                        # Create packages
packageall                     # Creates the EasySOA package
paf                            # Builds PAF CXF server
proxy                          # Builds the Esper & Light proxies
release                        # Make a release
test                           # Run all tests
test:failed                    # Run failed tests
tgz                            # Creates the EasySOA package
travel                         # Builds the Smart Travel demo and its backup services
Clone this wiki locally