Eclipse Setup

Configuration

  • Download and install [http://www.eclipse.org/downloads Eclipse IDE for Java EE Developers]. Ganymede (v3.4) is the current version.
  • Edit the eclipse.ini file:
    • add -vm <path to java jdk install of javaw.exe> (This is necessary for the m2eclipse plugin to work).
  • Windows->Preferences->Java->Installed JREs
    • Ensure that the java jdk you installed earlier is the one selected. If not, add it and make it the default
  • Import the following eclipse preferences (which are page attachments below):
ambra.java.formatting.xml Java code formatting directives for eclipse(contained in ambra.epf)
ambra.js.formatting.xml Javascript code formatting directives for eclipse (contained in ambra.epf)
ambra.importorder Java import order convention (contained in ambra.epf)
ambra.epf Aggregated eclipse workspace settings covering all ambra coding conventions
  • Install the following Add ons:
subversive http://download.eclipse.org/technology/subversive/0.7/update-site/ The preferred Subversion client for eclipse
subversive connectors http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/ Necessary plug-ins for svn client/server communication. Choose "Native JavaHL 1.5.0 [RC5]" and "Native JavaHL 1.4.5" only
m2eclipse http://m2eclipse.sonatype.org/update/ Eclipse Maven integration

Project Importing

  • File->Import..->General->Maven Projects (m2eclipse version 0.9.1+)
    • Choose the root (head) dir of the desired ambra source tree (i.e. head or a branch)
    • Right click on project you want to open (ambra-webapp for instance)
    • Maven2->Enable

Attachments