Developing and building SOFA 2
How to build SOFA 2
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.
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
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/distThe distribution will be created in the sofa-j/trunk/dist/output/dist directory.
SOFA 2 code uses the code convetions for the Java language.
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.