Developing ODE with the Eclipse IDE
First, be sure to read Building ODE to learn how to install Ruby, Rake and Buildr.
1. Build ODE
At the root of the checkout, run
2. Generate the Eclipse project files
Still in the root,
3. Import projects files into Eclipse
File -> Import -> Existing Projects into Workspace
then select the root directory of your ODE checkout (e.g. ode/trunk)
It's generally recommended to have a dedicated Eclipse workspace for ODE, since there's a fair amount of code and projects.
- You must use JDK 5.0 compiler
- You may need to exclude .svn directories to avoid duplicate resource copying.
- You must define the M2_REPO classpath variable to point to your local Maven2 repository (Window -> Preference -> Java -> Build Path -> Classpath Variables)
- Be ware that there are quite a few things in the Buildr-based build that are not done by the Eclipse build system. You will occasionally need to run "buildr" build in order to regenerate XMLBeans schemas, OpenJPA mapping files, JACOB channel interfaces, etc...