Skip to content

Setting up Eclipse

Will Dazey edited this page Jun 6, 2018 · 5 revisions

How to setup your EclipseLink development Environment in Eclipse

This is a guide for new users to setup their EclipseLink dev environment so that they can create changes and propose pull requests

Prerequisite steps:

Step 1 : Download and Install Eclipse IDE

Step 2 : Import EclipseLink projects

Step 3 : Project variables to setup

These are necessary classpath variables that must be set in order for many of the EclipseLink projects build path to be satisfied. These variables are found within Eclipse via: Windows > Preferences > Java > Build Path > Classpath Variables

  • Name: ECLIPSELINK_HOME

    Set this value as the path on your local system from root to the EclipseLink source code (ie. C:/JPA/EL/2.6_WAS/trunk/eclipselink)

Step 4 : Setup the EclipseLink formatter

  1. Navigate to: Windows > Preferences > Java > Code Style > Formatter
  2. Click Import, and navigate to the following EclipseLink directory in your local, checkedout source code: https://github.com/eclipse-ee4j/eclipselink/tree/master/project-admin/EclipseLink-Eclipse-Format.xml
  3. Click Apply and Close to apply this formatter

Next steps:

Clone this wiki locally