From Optflux
The plugin.xml file is an important and mandatory part of any plug-in for AIBench/OptFlux.
- All the Operations/Views/Icons/GUIs will be herein declared.
- The only artifact that does not required declaration in the plugin.xml file are the Datatypes.
Contents
- 1 Global Structure of the plugin.xml file
- 2 Global entries
- 3 Sections
Global Structure of the plugin.xml file
- The plugin.xml file begins with the declaration of the <plugin start=[value] tag. Here, [value] equals either a boolean value (true or false). We will use false as default. This value is only true for some core plug-ins since they will be loaded first by the plug-in engine.
- All the information pertaining the plugin will be contained from this level on.
- The plug-in is terminated with the closing tag </plugin>
Global entries
There are three global entries pertaining the information of the plug-in itself:
- <uid> ... </uid> - the unique identifier of the plug-in. A string that can be used to refer to this plug-in from another.
- <name> ... </name> - the name of the plug-in. Any String used to be displayed as the name of the plug-in in certain places (plugin manager, logs, etc).
- <version> ... </version> - the version of the plug-in. This can be used to differentiate between versions and is used by the plugin manager to resolve dependencies.