Page tree

Versions Compared

Key

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

...

  • Import-Package and Require-Bundle don't need to overlap, you can specify a requirement in one or the other. To have a multi line header, start the continuation line after a blank in column 1.
  • Put a blank line at the end of the manifest.mf file - due to a bug in felix.
  • The igb, genometry and genoviz projects can by accessed as bundles. If a class/method is needed from igb/genometry/genoviz, it must be public, and the package must be exported in the manifest.mf Export-Package list. Ann's note: manifest.mf of what?
  • If you want to add a tab window (Ann's note: Do you mean panel or window, because they can be opened as new windows?) as a bundle, there is a helper abstract class, com.affymetrix.igb.window.service.WindowActivator, that you can extend.
  • If you need access to other bundles (like IGBService), you will not be sure when the
    bundle is available. (Ann's note: Please explain more) For Services, like IGBService and WindowService, you can use a ServiceTracker to be notified when the required service is available - see WindowActivator
    for an example.

...

  1. check out IGB from https://genoviz.svn.sourceforge.net/svnroot/genoviz/trunk
      into a new project in eclipse
  2. - make a new IGB_HOME environment variable to point to the IGB project (Ann's Note: What directory should it point to in the checked out code - maybe give an example?)
  3. - open a command prompt in IGB_HOME, and do an "ant clean" and "ant jar"
  4. - in eclipse, project explorer, right click the IGB project and select "refresh"-
  5. 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
  6. - 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"

...