This page provides instructions for setting up an existing Eclipse installation for UDIG Plug-in development. If you do not yet have an Eclipse development environment you may consider following the directions here: 0 SDK Quickstart

Before you start:

Q: Is Java 5 with JAI and ImageIO Installed?

Q: Is Eclipse 3.1 with EMF and GEF Installed?

Setting up development environment

  1. Download one of the src builds from UDIG:Source Downloads.
  2. Unzip Source build to <UDIG-SRC> (Choose your own location).
  3. Start Eclipse.
  4. Open Preferences: Window>Preferences.
  5. Select Plugin Development > Target Platform.
  6. Enter <UDIG-SRC> into location.
  7. Click OK.

At this point all the source code for the eclipse and udig plugins are available. You should be able to develop uDig plugin effortlessly now.

Running uDig.

  1. Select Run>Run....
  2. Select Eclipse Application.
  3. Press New button.
  4. Ensure that Run as Product is selected (Under Program to Run section on right).
  5. Ensure that net.refractions.udig.product is in Run as Product field.
  6. Press Run

0 SDK Quickstart


[view] [edit]
(c) Copyright (c) 2004,2005 Refractions Research Inc. and others.