Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

How to Build

There are two motivations for building SDO from source and two well tested approaches to doing so. You may be wanting to build a binary release distribution from source code. Alternatively you may be wishing to establish a development environment in order to further the development of the code. The two tested approaches are either to use maven 2 command line builds or to Java source code create projects in the Eclipse SDK.

If you simply want to create a source code distribution, then even if you are an Eclipse user its best to just follow the instructions in the BUILDING.txt file at the top of the source code distribution and run a maven command line build (since the route to establishing an Eclipse environment requires installing maven anyway). Note that SDO for Java is distributed as two source code distributions. You'll need to download two archives, one for the SDO API, and one for the Tuscany implementation of that API.

If you want to work with the SDO projects alone, without the rest of Tuscany, proceed with the following steps.

Set up your environment using the instructions for building the whole of Tuscany, but only download and install Java 5, Maven and Svn (note that only one file, Interface2JavaGenerator.java, has a Java 5 dependency, if you want to work with Java 1.4.2 then just delete this file before building).

...

Check out the SDO open source projects from Apache.

md <local tuscany dir>
cd <local tuscany dir>
svn co -N https://svn.apache.org/repos/asf/incubator/tuscany/javaImage Removed
cd java
svn up sdo
svn up -N spec
cd spec
svn up sdo-api

...