...
This document assumes that you already have IGB sources checked out and NetBeans set up. If not, go see Compiling Compile and running run IGB from sourcethe command line.
Create a new plug-in
- Set IGB as your NetBeans Main Project by right clicking on IGB in your projects panel.
- File > New Project... and then In the ensuing wizard:
- select NetBeans Modules | Module, enter a description and then (Next>)
- Choose a name etc. and then (Next>)
- In this third step of the wizard check the "Generate OSGi Bundle" checkbox and then (Finish).
- File > New File... and then in the ensuing wizard:
- Category: Module Development; File Type: Installer / Activator and then (Next>)
- (Finish) and Installer.java will be created.
- Open Installer.java and make it look like this (You could make it even smaller by leaving out the context stuff and the printf statements.):
...
To make a plug in that IGB can actually use we will try to add a track operator similar to MyTransformer
in Bundles and Plug-Ins. To do this we will need the com.affymetrix.genometryImpl.operator package which contains an Operator class. So open a new project and open it's properties. You will add genometry.jar as a wrapped jar.
...