Importing forester from Google code subversion into Eclipse IDE
2011.02.08 1 Comment
forester source code is hosted by Google code at: http://code.google.com/p/forester/
To develop forester in Eclipse:
- Prerequisite: ensure that your Eclipse IDE (version Helios or later) has a subversion plug-in, for example: http://www.eclipse.org/subversive/
- In Eclipse, switch to “SVN Repository Exploring” perspective by: Window|Open Perspective|Other…|SVN Repository Exploring >> OK
- Depending on software already installed within Eclipse, Eclipse might ask to install a “connector”, I select one which is compatible with subversion 1.6.x (?), after installation restart Eclipse
- Click “New Repository Location” symbol (under “SVN Repositories”)
- Enter this URL: “http://forester.googlecode.com/svn/” (or “https://forester.googlecode.com/svn/” for write access) >> Finish
- Highlight and right-click: “forester” (version number), select “Find/Check Out As”
- Select “Check out as project with the name specified (“forester”) and “Head Revision” and “Depth: Recursively” >> Next >> Finish
- Switch to Java perspective by: Window|Open Perspective|Java, a Java project named “forester” should now be ready, with the source code in “java/src” (needs at least Java 1.6)
- Test forester by running the “main” method in class “org.forester.test.Test”; the expected result is 0 (zero) failed tests
- Build “forester.jar” by executing the “build.xml” ant-file in directory “java” [environment variable JAVA_HOME needs to point to a JDK (at least 1.6); furthermore, a “<jar> type doesn’t support the ‘level’ attribute” error is a likely sign that your Ant version is too old — at least version 1.7.1 is required]
Pingback: Importing forester into Eclipse IDE « Archaeopteryx