JDOM2 and Eclipse

rolfl edited this page Oct 15, 2011 · 1 revision

If you want to develop JDOM2 with eclipse, you can follow the following instructions to have a setup that covers what's needed to get a good, useful environment.


Base Eclipse Version

Eclipse 'Indigo' - the EE edition happens to be the one that's been used so far, but the others should work just fine.


JDOM in Eclipse Setup

  1. Use EGit to clone the code from GitHub
  2. Use Eclipse's ant 'external program' to run the 'eclipse' target of the build.xml file.
  3. Use the 'ant junit' target or the standard Eclipse tools to run the jUnit tests. All tests should run successfully, see the jUnit page for details.
  4. Use the 'ant coverage' target or the 'Coverage' target to run the Unit tests with code-coverage enabled.