Thanks for your reply. It worked!
However, I have another problem :
Protege reports:
-------------------------------------------------
Jess reported an error in routine call
while executing (call examples.JadeJessProtege.JessHashtable setRete
"JessProtege" (engine))
while executing (batch
"C:/eclipse_europa/workspace1/JADE2/src/examples/JadeJessProtege/JessProtege.clp").
Message: Class not found.
Program text: ( batch
"C:/eclipse_europa/workspace1/JADE2/src/examples/JadeJessProtege/JessProtege.clp"
) at line 1.
Nested exception is:
examples.JadeJessProtege.JessHashtable
--------------------------------------------------
Here is the full code of JessProtege.clp:
; Oliver Hoffmann 10 May 2001
; in collaboration with Fabio Bellifemine and Ernest Friedmann-Hill
; shows how a JADE system and a JADE/JESS/PROTEGE agent can be started from
within the protege JessTab
(call examples.JadeJessProtege.JessHashtable setRete "JessProtege" (engine))
; save the pointer to this JESS engine
(call jade.Boot main (create$ "-gui"
"JessProtege:examples.JadeJessProtege.JadeJessAgent(JessProtege)")) ; start
the JADE system and an agent
(defclass Message ; a JADE ACL message mapped to a protege instance
(is-a :STANDARD-CLASS) ; class Message will inherit th standard slots
(slot Performative) ; message speech act as a String
(slot Sender (type any)) ; message sender, not a String, but a JADE AID
(slot Content) ; message content as a String
)
.....
------------------------------------
I have added
"C:\eclipse_europa\workspace1\JADE2\src\examples\JadeJessProtege"
to the classpath variable of the computer.
The line below executes fine inside the eclipse project, but gives the error
above while executing from JessTab of Protege.
(call examples.JadeJessProtege.JessHashtable setRete "JessProtege" (engine))
How could I make the class examples.JadeJessProtege.JessHashtable visible to
Protege?
Thanks,
On Thu, Oct 9, 2008 at 1:44 AM, Ernest Friedman-Hill <[EMAIL PROTECTED]>wrote:
> On my system, here's what I have installed. I have Protege 3.3.1. I have a
> directory "PROTEGE/plugins/se.liu.ida.JessTab". In it, I have JessTab16.jar,
> jess.jar, and additionally a file called plugin.properties that contains:
>
> # SNIP HERE ---------
> plugin.component.count=1
> plugin.component.name.0=JessTab Plugin
> plugin.component.about.0=http://www.ida.liu.se/~her/JessTab/<http://www.ida.liu.se/%7Eher/JessTab/>
> plugin.component.doc.0=http://www.ida.liu.se/~her/JessTab/JessTab.pdf<http://www.ida.liu.se/%7Eher/JessTab/JessTab.pdf>
> plugin.dependency.count=2
> plugin.dependency.0=edu.stanford.smi.protegex.owl
> plugin.dependency.1=edu.stanford.smi.protegex.pal_tabs
> # SNIP HERE ---------
>
> And this seems to work for me.
>
>
>
> On Oct 8, 2008, at 6:38 PM, levent kent wrote:
>
> Hi again,
>>
>> I am trying to buil the communcaiton between jess and protege.
>>
>> I did the following steps.
>> 1) download and install protege 4.0 beta.
>> 2) copy JessTab16.jar and jess.jar to protege/plugins directory.
>> 3) copy scriptlib.clp to protege/jess directory.
>>
>> After starting the protege, no errors are shown at command line but while
>> loading the plugins
>> it prints:
>> installed plugin null
>> null plugin has no plugin.xml resource
>>
>> any ideas?
>>
>> --
>> Levent Kent
>>
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Informatics & Decision Sciences, Sandia National Laboratories
> PO Box 969, MS 9012, Livermore, CA 94550
> http://www.jessrules.com
>
>
>
>
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]
> --------------------------------------------------------------------
>
>
--
Levent Kent