OW2 > SOFA2
SOFA2
 
Font size:      

Developing and building SOFA 2

How to build SOFA 2

Requirements

The Apache Ant and Apache Ivy tools are used for compilation and distribution of the SOFA-J implementation and therefore must be installed and configured on the host computer. Moreover, the Ant-Contrib Ant task library must be installed.

Compilation

First of all, you must download the current trunk version from the SVN repository using

   svn checkout svn://svn.forge.objectweb.org/svnroot/sofa/trunk .
          
To compile the current SOFA-J version, run ant in the following directories in the given order (use the default task):
   sofa/trunk/build
   sofa-j/trunk/build
   cushion/trunk/build
          

Instalation

To create the current SOFA-J distribution from the compiled files, run ant in the following directories in the given order (use the default task):

   cushion/trunk/dist
   sofa-j/trunk/dist
          
The distribution will be created in the sofa-j/trunk/dist/output/dist directory.

Developing SOFA

Code conventions

SOFA 2 code uses the code convetions for the Java language.

SVN convention

The SVN repository uses the common structure with top-level trunk, branches, and tags directories. Then there are directories for each subproject, which are further divided to the trunk, branches, and tags.