Deploying plugin

After prepared all the required files for a plugin (plugin.xml, plugin.properties, classes/libraries and other resources), developer can plug the plugin into VP-UML.

First, create a folder named plugins (notice the 's') in the VP-Suite directory. Put the plugin files into "%VP-SUITE%\plugins\%PLUGIN_ID%\". %PLUGIN_ID% is a directory named as the plugin id (use the id as the directory name to avoid duplicated directories defined in plugins)

The following structure should be obtained:

%VP_SUITE%

bin
lib
...
plugins
sample.plugin (%PLUGIN_ID%)
plugin.xml
plugin.properties
classes
sample (package)
... (other packages or classes or resources)
lib
sampleplugin.jar
... (others .jar)
icons (others resources)
red.png
...(other resources)

Below is an example of VP Suite installation folder with plugin created in the plugins folder.

Plugin folder structure
Plugin folder structure

After all, restart VP-UML will see the plugin available. If not, make sure the code was written correctly and can be compiled, and you have setup the above folder structure correctly.