Eclipse Plug-in Development Environment (II)

24 January 2008

This post is in continuation of Eclipse Plug-in Development Environment (I). Read that before this one.

Because Eclipse plug-ins are essentially Java projects, they are built incrementally by default, and no special manual build steps are necessary. However, PDE makes it possible to create unattended builds using Ant; you can create an Ant build script for your plug-in (in Package Explorer, right-click your plugin.xml and choose PDE Tools -> Create Ant Build File), which provides targets for creating various build outputs (such as plug-in JARs, source archives, and so forth).

To test-run your work, PDE provides a special launch configuration type that allows you to launch another workbench instance (referred to as the run-time workbench) with your workspace plug-ins included in its configuration (this is also referred to as self-hosting—you don’t have to install your plug-ins into an external workbench just to test-run them; instead, you can use your own development workbench installation, dynamically). Your Eclipse launch configuration will allow you to specify which plug-ins you want included, special command-line arguments, environment properties, and so on.

PDE also comes with a solid user documentation, as well as extensive reference information (Javadoc and Extension Point documentation). Because it is released under the same terms as Eclipse itself, its source code is freely available and in fact included by default with the SDK.

del.icio.us:Eclipse Plug-in Development Environment (II)  digg:Eclipse Plug-in Development Environment (II)  spurl:Eclipse Plug-in Development Environment (II)  wists:Eclipse Plug-in Development Environment (II)  simpy:Eclipse Plug-in Development Environment (II)  newsvine:Eclipse Plug-in Development Environment (II)  blinklist:Eclipse Plug-in Development Environment (II)  furl:Eclipse Plug-in Development Environment (II)  reddit:Eclipse Plug-in Development Environment (II)  fark:Eclipse Plug-in Development Environment (II)  blogmarks:Eclipse Plug-in Development Environment (II)  Y!:Eclipse Plug-in Development Environment (II)  smarking:Eclipse Plug-in Development Environment (II)  magnolia:Eclipse Plug-in Development Environment (II)  segnalo:Eclipse Plug-in Development Environment (II)  gifttagging:Eclipse Plug-in Development Environment (II)

Top Of Page | Trackback

If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.

It will look like this: Eclipse Plug-in Development Environment (II)

Leave a Reply