Setting up Eclipse IDE for opentaps 2

From Opentaps Wiki
Revision as of 01:31, 21 January 2012 by Sichen (talk | contribs) (Maven)
Jump to navigationJump to search

If you use Eclipse IDE, here are some instructions on how to set up Eclipse for opentaps 2 development.

Maven

Go to Help menu, select Install New Software, and install Maven Integration for Eclipse from http://download.eclipse.org/technology/m2e/releases

Now use File > Import >> Existing Maven Projects to import your opentaps-2 project into Eclipse. If the "Finish" button on the "Select Maven Projects" page is not highlighted, then uncheck a pom.xml and check it again, then it should work.

If you get the error "opentaps-2 overlaps the location of another project: 'opentaps-2'", then delete the opentaps-2 project from Eclipse first (but not from the filesystem!) and re-import it into Eclipse as a Maven project.

If you are using Git for Eclipse as well, you can switch between Git Repository and Java view for your project.