JeeWiz Home

 
  
 
Contents  >   5.  Developers Guide
 


5.5 Generating From Outside Eclipse

A GigaSpaces Project would normally be built within Eclipse using the GigaSystemBuilder plugin. However it is perfectly possible to build a GigaSpaces project from outside of Eclipse. This section explains how to do so.

To build a GigaSpaces project from outside eclipse simply open a command box and change to the GigaSpaces project directory and type:
'ant'
This will peform three tasks. These are :

  • convert the osm to a native jeewiz format. The converted file will be called <>.osm.converted.
  • build the project. This will generate all the sub-projects. The number of sub-projects will depend on the details in the model but each sub-project will be contained in a peer directory of the main project. The sub-projects directories will be of the form _
  • compile and jar the sub-projects.

The convert task can be run individually by running the command
'ant convert'
The project can be built individually. This task will generate the artefacts and sub-directories of each of the sub-projects. The command to do this is
'ant build'
To compile and jar the sub-projects individually run the command.
'ant generateAndBuild'
This task 'generateAndBuild' will also first run the 'convert' and 'build' tasks.

Once the sub-projects have been generated they can be compiled and jarred individually. To do this open a command box and change to the sub-project directory and type
'ant'
If the sub-project is dependant on other sub-projects then the dependant projects will be built first.

For detailed information on how the build structure fits together see the 'detailsOnTheBuildStructure.txt' document in /jeewiz/resources/giga-spaces.


Copyright (c) 2001-2009 New Technology/enterprise Ltd.