Building from the source is usually for the thick skinned, we try to keep our trunk stable but it's a development environment so we can never guarantee that everything will be smooth. If you rather work with something more stable or if you don't need the latest and greatest, using the latest official distribution is probably a better option.
First you will have to make sure that you have Subversion
. If you don't know what Subversion is or don't have it installed, check here
. Once installed run:
Stable branch: (Use Buildr 1.2.10)
$> svn checkout http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.1 ode-1.1
Development branch: (Use Buildr 1.3.1+)
$> svn checkout http://svn.apache.org/repos/asf/ode/trunk ode-trunk
For more information or if you have any problem with Subversion (like being behind a proxy or a firewall) check the Source Code section.
If you already have Ruby installed on your machine (which is true for most Linux and Mac computers), you will probably find building with Buildr easier. You will need to following things:
Note that for now, even though ODE can run on JDK 1.6.x, building ODE only works with JDK 1.5.x. So before building, make sure you JAVA_HOME points to a JDK 1.5.x installation.
Building is then pretty simple. Open a command in the source root directory and run:
buildr _1.2.10_ TEST=no ode:package
Note: Replace "1.2.10" by "1.3.1" if you're building the trunk.
To try the test cases bundled with ODE:
buildr test
To generate Eclipse project files:
buildr eclipse
It just works! For more information about Buildr see http://buildr.rubyforge.org/
.
gem update --system
