Subject: Pb with the Ontology generator
From: Abdelkader GOUAICH (gouaich@lirmm.fr)
Date: Fri Aug 09 2002 - 17:58:40 MET DST
Hi there,
I am trying to use protege/jade bean generator tool to generate my
ontology and concepts, however i fail when compiling my code.
I have the following error:
./../projects/test/src/test/Pong.java:44:
registerOntology(java.lang.String,jade.onto.Ontology) in jade.core.Agent
cannot be applied to (java.lang.String,jade.content.onto.Ontology)
this.registerOntology(BallOntology.ONTOLOGY_NAME,BallOntology.getInstance());
In fact the generated class inherits form jade.content.onto.Ontology
class and the Jade API allows only: jade.onto.Ontology class to be
passed as an argument for the ontology registration!
So, what can I do to solve this problem....?
Config: Jade 2.5
This archive was generated by hypermail 2a22 : Fri Aug 09 2002 - 17:56:29 MET DST