...
You can refer more operations in plugins or com.affymetrix.genometryImpl.operator package in core folder.
Wiki Markup |
*Step 7. Update* *{_}MAINFEST.BASE{_}{*}*:* Directly under the _\[MyPlugin\]_ folder, update the following highlighted fields for _fields for MAINFEST.BASE_.
Panel |
---|
Wiki Markup | Manifest-Version: 1.0
Bundle-ManifestVersion: 2
<span style="color: #ff0000">Bundle-Name</span><span style="color: #000000">: MyPlugin</span>
<span style="color: #ff0000">Bundle-SymbolicName</span><span style="color: #000000">: 2 Bundle-Name: MyPlugin Bundle-SymbolicName: com.myorg.myplugin.MyPlugin</span>
<span style="color: #ff0000">Bundle-Version</span><span style="color: #000000">: 0.0.9</span>
<span style="color: #ff0000">Bundle-Activator</span><span style="color: #000000">:</span> <span style="color: #000000">com.myorg.myplugin</span><span style="color: #000000">.Activator</span>
<span style="color: #000000">Bundle-ActivationPolicy: lazy</span>
<span style="color: #000000">Bundle-RequiredExecutionEnvironment: JavaSE-1.6</span>
<span style="color: #000000">Bundle-Description: Plugin to allow the user to create a plugin as template</span>
Bundle-DocURL: [MyPlugin Bundle-Version: 0.0.9 Bundle-Activator: com.myorg.myplugin.Activator Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-Description: Plugin to allow the user to create a plugin as template Bundle-DocURL: http://wiki.transvar.org]<span style="color: #ff0000"><a href="http://wiki.transvar.org">http://wiki.transvar.org</a></span>
<span style="color: #ff0000">Import-Package</span>: Import-Package: com.affymetrix.common;version="\[<span style="color: #000000"> </span><span style="color: #000000">(appVersion)</span><span style="color: #000000">,</span> <span style="color: #000000"> </span><span style="color: #000000">(appVersion)</span>\]",
com[ (appVersion), (appVersion)]", com.affymetrix.genometryImpl,
com com.affymetrix.genometryImpl.operator,
com com.affymetrix.genometryImpl.symmetry,
com com.affymetrix.genometryImpl.parsers,
com com.affymetrix.igb.osgi.service,
org org.osgi.framework;version="1.5.0",
org org.osgi.util.tracker;version="1.4.0"
|
- Bundle-Name - change to your plugin name
- Bundle-SymbolicName - change to your package path
- Bundle-Version - change to your plugin version
- Bundle-Activation - change to your Activator path (e.g. com.myorg.myplugin.Activator)
- Import-Package - include all the classes your are using in your source code
...
*Step 8. Update* *{_}ant.properties{_}{*}*:* Also found under _\[MyPlugin\]_ folder, update the highlighted fields as follows.
Panel |
---|
name=MyPlugin project=MyPlugin classpath=${igb_service}/build:${window_service}/build:${common}/build:${igb}/build:${genometry}/build:${genoviz}/build:${osgi.impl} plugin-jar=true |
...
- name=\[your plugin name\]unmigrated-wiki-markup
- project=\[your plugin name\]
- classpath is updated with the necessary paths; refer to the project build.xml for the actual paths listed, i.e. the path for igb_service, windows_service, etc.
...
- Next, using a command line prompt, navigate to IGB_HOME folder and run the following command (Enter your svn password as necessary):
Wiki Markup |
*Step 4. Move the .jar and .xml files to your plugin directory:* There should be 2 generated files in IGB_HOME/plugins/ext, _\[MyPlugin\].jar_ and _repository.xml_. Move these files to your plugin repository folder (local or remote HTTP server). Make sure to cut these files from from the IGB_HOME/plugins/ext folder, or delete after copying.
Step 5 (optional): Revert IGB code: You can now revert all of the code changes you have made, if you wish, or simply change the name of the plugin in all appropriate code locations to create files for another plugin.
...