Difference between revisions of "Platonos"

From AardRock Wiki
Jump to navigation Jump to search
 
(Added some links and info.)
 
Line 1: Line 1:
Platonos is a plugin-engine we use for updating our application and to seperate our own programs from third-party libraries. See [http://sourceforge.net/project/showfiles.php?group_id=119045|Platonos Downloads] for a download, or [http://platonos.sourceforge.net/|their homepage] for general information.
== Notes ==
== Notes ==
If you want to use classes from other plugins, you should make those plugins a dependency, like this:
If you want to use classes from other plugins, you should make those plugins a dependency, like this:


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


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

Latest revision as of 14:10, 19 April 2006

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