Published using Google Docs
6 - Releasing a Plugin
Updated automatically every 5 minutes

DEPRECATED, REFER TO THIS DOCUMENT.

JEB2 Developer Tutorial

6- Releasing a Plugin

Links:

Now that your plugin is ready, you may be looking into some way to share it with your coworkers. It is not very handy to hand out classfiles, and change Classpath and Classnames in the options. The solution is to package your plugin: you will build a jar with plugin classname inside.

Use the build.xml template to generate the jar. You can run the build.xml directly from eclipse or execute the ant command.

Plugin6-01.png

It will generate a jar which has 2 specific entries in the manifest:

Copy both JebJavascriptPlugin.jar and js.jar to your plugin folder. You can remove the classpath and classnames entries related to JavascriptPlugin and js.jar.

Note: the best approach is to have one project per plugin.

Exercice: Split the project and generate JavascriptPlugin.jar and HashJavascriptPlugin.jar. Remove all classpaths and classnames to check that it works.

Next up in Part 7: Interactivity

JEB © PNF Software, Inc.