Eclipse Plug-in Development Environment (II)
24 January 2008This 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.
Related Posts:
- Eclipse Plug-in Development Environment (I)
- PDE concepts (I)
- Rich Client Platform (introduction)
- Preparing development environment for J2EE dev/JBoss
- PDE Concepts (II)
- Creating a Simple Plug-in using PDE (I)
- Building a Rich Client Platform application (I)
- Running a plug-in
- Plugin project - Dependencies page (II)
- Introduction to Standard Widget Toolkit (I)
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)