During the design phase, plug-ins and fragments in your workspace are used as-is so that you can quickly test and debug. Once you reach the stage where you are satisfied with your code, you need to publish it in a form fit for delivery on the platform.
There are two ways to publish your plug-in:
To build a plug-in JAR, select the plugin.xml for your plug-in and choose "Create plug-in JARs..." from the popup menu. Ant build script will be created and a wizard will guide you through executing the script.
The remaining sections describe features and how to build them.