Skip to main content
Jump to: navigation, search

DTP Development Environment

Revision as of 21:15, 15 June 2010 by (Talk | contribs) (New page: {{Back To|name=DTP Main Page|href=Data Tools Platform Project}} ==Introduction== The DTP project is designed to work on multiple Eclipse versions. The official DTP build is done using Ec...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Back to DTP Main Page


The DTP project is designed to work on multiple Eclipse versions. The official DTP build is done using Eclipse 3.4.2 and Java 5, and this is the minimum supported platform version. DTP is tested on the minimum platform version and on the latest platform version (which is currently Eclipse 3.6 and Java 5.) DTP committers must be developing against the minimumm platform version in order to avoid build breakages.

DTP Development Environment

You can develop DTP using Eclipse 3.4.2 or later, but be sure to set your target platform to match the minimum platform. The target platform configuration is located in Window->Preferences...->Plug-in Development->Target Platform and looks like:


To use this for developing DTP Ganymede, you should have:

  • An Eclipse 3.4.2 (with associated EMF and GEF versions) location
  • An Eclipse 3.6 with associated EMF and GEF versions) location
  • Java 5 (JRE/JDK 1.5) VM installed

You must make sure that the target platform is set correctly. In the configuration dialog shown above, you can Browse... to the necessary folder. For standard DTP development, this should be the folder containing Eclipse 3.4.2. Select the folder, and verify that all the expected plug-ins appear in the dialog list.

Next, you need to make sure that the correct VM version is being used. Check the second tab on the Target Platform dialog:


If the correct VM version does not appear, selected it from the drop-down list. If the required version does not appear in the drop-down list, then you should add the install location using the Window->Preferences...->Java->Installed JREs page. Once the configuration is set correctly, click "OK" to accept any changes. Regardless of the version of Eclipse that you are running, plug-ins developed within it will be built as described above. The advantage that the target platform mechanism gives over, for example, restricting yourself to developing only in the required environment is that you can easily switch target platforms to build/test against different Eclipse/VM combinations.

Also, you'll want to be sure that the default compiler level is set to a 1.5 VM:

Java compiler setting.JPG

Back to the top