Version 17 (modified by chase, 9 years ago)


Eclipse Setup

This page describes how to setup an Eclipse development environment to be used with the Orca project.

1. Download and install Eclipse from You can choose either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers.

2. In addition to the standard Eclipse installation you will need the following Eclipse plug-ins:

  • Subclipse ( This plug-in integrates subversion source control into eclipse. Make sure you choose a version compatible with your subversion command line client. Version 1.4.* uses subversion 1.5.* file formats and is incompatible with subversion 1.4.* file formats. Version 1.0.* work only with subversion 1.4.*. Be careful, which version you end up installing, since version incompatibility can cause a lot of headaches later. Note: in a July 2010 install for a mac I used subclipse 1.6.x ( For this 64-bit Eclipse it was necessary to install the subversion from, as recommended by (It made me register to download, but it just worked.)

3. Before you can start editing an ORCA project, you must import it into your Eclipse workspace. You can checkout the project directly with Eclipse, with the Subversion command line client or with the command line build scripts. The instructions here assume that you have checked out the required projects using the Subversion command line client. To import an existing ORCA project into Eclipse do something like the following, depending on Eclipse version:

  • Click on File\Import...
  • Expand the General tab and select Maven Projects. Click Next
  • Use the Browse button to navigate to the directory containing the POM file (pom.xml) of the project you want to import. Click OK. The dialog window should show the project(s) you have selected for import.
  • Click on Advanced and make sure that both Resolve Workspace projects and Separate projects for modules are selected. Add the following to the Name template field: '[groupId].[artifactId]'.
  • Click on Finish

The project should start importing and Eclipse will rebuild the workspace as needed.

When installing Eclipse on a CentOS 5.2 machine note the following:

  • Eclipse 3.2 is the only version currently supported by CentOS repositories.
  • Follow the Maven (m2eclipse) installation instructions for Eclipse 3.2 closely.
  • Use the for maven plugin instead of the release build

When installing e2eclipse in Ubuntu 8.10:

  • Following above notes on CentOS
  • Use Sun Java JDK 1.5, instead of the default gcj
    • sudo gedit /etc/eclipse/java_home
    • move '/usr/lib/j2sdk1.5-sun' to be the first line
  • Switch to sun 1.5 system-wide
    • download and install 1.5 (from the update manager)
    • see it in /usr/lib/jvm
    • sudo update-alternatives --config java (javac, javadoc)
    • Or change $JAVA_HOME (JAVA_HOME="/usr/lib/jvm/java-1.5.0-sun")
    • and $PATH (PATH=.:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH)


Install Maven

  • export M2_HOME=/usr/local/apache-maven/apache-maven-2.2.1
  • export M2=$M2_HOME/bin
  • export PATH=$M2:$PATH