Platonos

From AardRock Wiki
Jump to navigation Jump to search

Platonos is a plugin-engine we use for updating our application and to seperate our own programs from third-party libraries. See Downloads for a download, or homepage for general information.

Notes

If you want to use classes from other plugins, you should make those plugins a dependency, like this:

<plugin>
   <uid>aardrock.cheetah</uid>
   <name>Cheetah</name>
   <lifecycleclass>aardrock.cheetah.lifecycle.CheetahPluginLifecycle</lifecycleclass>
   <dependencies>
      <dependency uid="com.hp.hpl.jena" />
      <dependency uid="aardrock.cheetah.wiredreach.rdf" />
   </dependencies>
   <version>0.0.1</version>
</plugin>


But there is one thing to watch out for: if you make the following dependencies:

  • cheetah
    • wiredreach
      • jena

Then cheetah can not use classes from Jena. This took some time to figure out, but the dependencies must look like this:

  • cheetah
    • wiredreach
      • jena
    • jena