Developers

This section contains information which is useful for developers.

Setting up a typical development environment

These instructions describe how to set up an environment which would be suitable for metric development.

  1. Install the latest Java SE Development Kit (JDK).
  2. Install the latest version of Eclipse
  3. Install the Subclipse plugin by adding http://subclipse.tigris.org/update_1.4.x to your Eclipse Software Update Sites. You do this via Help > Software Updates > Add Site in Eclipse.
  4. Ensure Eclipse knows to use your JDK installation. You do this via Window > Preferences > Java > Installed JREs. Click Add > "Standard VM" and then browse to your JDKs directory.
  5. Install the Maven plugin by adding http://m2eclipse.sonatype.org/update to your Eclipse Software Update Sites.
  6. Open the SVN Repository Exploring perspective (Window > Open Perspecctive > Other) and add the metric repository by right-clicking in the SVN Repositories window and selecting New > Repository Location and entering the Url https://metric.svn.sourceforge.net/svnroot/metric.
  7. You can check out the new metric materials by expanding the repository tree, right-clicking on /trunk and selecting Check out as Maven Project.
  8. You can check out the metric-classic materials by expanding the repository tree, right-clicking on /branches/imperial-cvs/metric and selecting Checkout. You should check this out as a new Java project.