Version 2, last updated by Richard Dallaway at December 15, 2011 09:15 UTC

Creating an Installable Distribution

Before submitting a patch you will want to test your modified Scala IDE in an environment that is as close as possible to an official distribution via an Eclipse update site. You can do this by running the devel.dist target of the Ant build.xml script in the scala-plugin project,

In Eclipse,

  1. Select scala-plugin/build.xml.
  2. Select the Run As Ant Build ... context menu action.
  3. Switch to the Targets tab and deselect all targets other than the devel.dist.
  4. Click Run.

Alternatively, from the command line,

cd scala-plugin
ant devel.dist

When this completes successfully an Eclipse update site will have been created at scala-plugin/dist/scala.update. To install the newly packaged Scala IDE in your development-time workspace you should follow the procedure given above for installing a nightly build, but instead of creating an new remote update site, you should create a new local update site pointing at the scala-plugin/dist/scala.update directory in your workspace.