Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. check out IGB from https://genoviz.svn.sourceforge.net/svnroot/genoviz/trunk
      into a new project in eclipse - we will refer to the project directory below as IGB_HOME.
  2. open a command prompt in IGB_HOME, and do an "ant clean" and "ant jar"
  3. in eclipse, project explorer, right click the IGB project and select "refresh"
  4. in eclipse, project explorer, right click on open space, and select "Import..."
    • Select "Plug-ins and Fragments" under "Plug-in Development", click the "Next >" button
    • under "Import From", select "Directory:",
    • under "Plug-ins and Fragments to Import" select "Select from all plug-ins and Fragments",
    • under "Import As" select "Binary Projects"
    • for "Directory:", click the "Browse..." button and select the IGB_HOME/ext, click the "OK" button
    • click the "Next >" button
    • under "Plug-ins and Fragments Found:", select affx_fusion, colt, freehep, image4j, jlfgr, picard, and sam
    • click the "Add -->" button to add these all to "Plug-ins and Fragments to Import:", click the "Finish" button
  5. Do the following for the directories under IGB_HOME, genometryImpl, genoviz_sdk, igb, plugins/igb_service, plugins/window_service
    • in eclipse, project explorer, right click on open space, and select "Import..."
    • Select "Existing Projects into Workspace" under "General", click the "Next >" button
    • click "Select root directory:" and click the "Browse..." button on the right
    • select the project under IGB_HOME, and click "OK"
    • click "Finish"
  6. note - you will find it easier to debug in eclipse if you use the Debug project. You can add the Activator to your bundle in com.affymetrix.igb.debug.Debug, in the static statement at the top. Then on Debug, you can "Debug As" "Java Application", and
    this will run IGB using a dummy OSGi implementation, so that you can easily step through code, set breakpoints, etc.

Sample plug-in using eclipse

...