Establishing a Development Environment

There are two well established development environments that the SDO community use, Maven and Eclipse. To use the Eclipse IDE you must first establish a maven environment.

Getting Setup for Development (prerequisites)

Download the following:

Setting up for Maven Development

Setting up for Eclipse Development

Follow the instructions above for setting up a maven development environment
Having ensured you have network access to the internet, in each of the following directories

  1. spec/sdo-api
  2. sdo/impl
  3. sdo/tools
    (Note: experienced eclipse users may want to select just a subset of these projects)

execute the command mvn -Peclipse eclipse:eclipse

Then

Now repeat the same instructions for importing the sdo-impl and sdo-tools projects into the eclipse environment. You aklready have the M2_REPO variable defined now, so these projects should build OK.

At this point you have three separate projects each dependent on binary artifacts in your maven repository. Don't be tricked into thinking that
if you modify the sdo-impl project, that those changes will be picked up by the sdo-tools project. If you want this behaviour then follow these steps

Digging into EMF

With EMF being such an integral part of SDO development, its often necessary to debug into the EMF code to understand what's going on. To do this you need to download an EMF SDK (runtimes, source, docs) for EMF, SDO and XSD (Don't be confused by the presence of SDO; the version 1 API used to be developed at Eclipse, and it is this that is being downloaded, you can safely ignore it). You'll need the corresponding EMF version to the Tuscany SDO source code (Currently EMF 2.2.2 as at March 2007). Take a look for the <emfVersion> tag in the sdo/pom.xml file to discover the current version dependency. Extract the downloaded archive to somewhere on your computer.