Child pages
  • Using Maven with a Hello World Plugin for CIShell
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Hello World Plugin for CIShell

  1. Install Maven on the parent [CIShell master] ------ Right click on "CIShell master" -> Select Run As -> Maven install

  2. Create a Hello World Plugin as guided by this document
  3. Convert the "Hello World" project created into a Maven project ------ Right Click on "Hello World" -> Configure -> Convert to Maven project
  4. Ensure that the Artifact Id (pom.xml -> Overview) and the Bundle-SymbolicName (META-INF -> MANIFEST.MF -> MANIFEST.MF) are the same.
  5. Ensure that the Version (pom.xml -> Overview) and the Bundle-Version (META-INF -> MANIFEST.MF -> MANIFEST.MF) are the same.
  6. pom.xml -> Overview -> Packaging-> Select "eclipse:plugin"
  7. Change the output directory to target/classes ------ -> output.. = target/classes
  8. To test the algorithm, export the algorithm ------ Right click on the project -> Export -> Expand "Plug-in Development" category and select "deployable plug-ins and fragments". On the next page, select the algorithm bundle to export as an OSGI Bundle and set the destination directory to be where CIShell application is installed. Click "Finish" to export the algorithm bundle. NOTE: Do not export to the "plugins" directory of the CIShell tool directly, even though it the final destination of the plugin. This is because Eclipse appends "/plugins" to the path of whichever directory you choose.
  • No labels