Set up Eclipse Environment
- Install the latest version of Eclipse. Must be Eclipse version 3.3 or newer. Get the "IDE for Java developers"
- Install an SVN client. We recommend Subversive (update site). Another option is Subclipse (update site).
- Install Maven 2.x Plug-in for Eclipse using update site. Get the latest stable version.
- Create a .m2 folder in your user home directory, if you don't have one. On windows this would be
C:/Documents and Settings/[user name]/.m2
- Windows Explorer may not allow you to create a folder named .m2. If this happens, open the Command Prompt, change to the desired directory, and type "mkdir .m2".
- Create a .m2 folder in your user home directory, if you don't have one. On windows this would be
- Install command line version of Maven
- Download Maven 2 from http://maven.apache.org/download.html.
- Unpack the downloaded distribution to a directory of your choosing (this is your Maven Home directory). Do NOT unpack it to the .m2 folder created earlier.
- Define a M2_HOME system variable.
- Add M2_HOME/bin to the system path.
- Make sure that the JAVA_HOME variable is already defined and that it is set to a JDK (and not a JRE).
- Here is a more detailed guide to installation from the Maven 2 website: http://maven.apache.org/download.html#Installation.
Check out Sail
Check out codebase from the SAIL Subversion repository
- Use https://svn.sourceforge.net/svnroot/sail for the root in Subversive (or Subclipse). This allows you to check out the trunk version or any other version.
FAQ for Eclipse Setup
- What is an "update site", and what do I do with it?
An update site is a way to install new features into eclipse. The following page has a flash video that demonstrates how to use an update site URL. This particular video is for an older version of ht Maven 2 plugin, but the basic procedure is the same for all update sites:
http://m2eclipse.codehaus.org/Installing_Maven_2.0_plugin_for_Eclipse.html
The "update site" URL should be entered in the dialog box titled "New Update Site". This dialog apears when the "New Remote Site..." button is clicked.
The name of the update site can be anything you want.
Solutions to errors in the Project
Try closing the project and opening it again.
Try closing Eclipse and starting it again.
Install maven and run the mvn compile inside of the SAIL Core folder