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
- ambra-java-formatting.xml (28.1 kB) -
ambra-java-formatting
, added by jkirton on 07/01/08 16:00:57. - ambra.importorder (86 bytes) -
ambra eclipse import order preferences
, added by jkirton on 07/01/08 16:02:59. - ambra-js-formatting.xml (29.7 kB) -
ambra-js-formatting
, added by jkirton on 07/09/08 11:33:45. - ambra.epf (247.0 kB) -
ambra eclipse workspace preferences
, added by jkirton on 07/11/08 09:38:15.
