Chapter 3 - Deploying Plugin
Chapter 3 - 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.
There should be a directory "plugins" on VPSuite home directory. Place 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 files should be placed as
%VP_SUITE%bin
lib
...
pluginssample.plugin (%PLUGIN_ID%) plugin.xml
plugin.properties
classes sample (package)
... (other packages or classes or resources)
libsampleplugin.jar
... (others .jar)
icons (others resources)red.png
...(other resources)
On this case, the classes folder and the sampleplugin.jar contains the same classes of the plugin. It is unnecessary to place both of them into the plugin directory.
|
|
| Visual Paradigm International Limited |
| Website: |
www.visual-paradigm.com |
| E-mail: |
support@visual-paradigm.com |
|