Hello,

I'm having some problems with the require/provide statement of jess. I have a set of rules files, which uses the require/provide statement in order to connect these files. If I batch directly the "root" rules file (the one that trigers the all other files), jess don't find any problem. Although, i don't use jess directly, instead i make use of a singleton class to use jess. This singleton (lets called the jessKB) is part of another project, and when i try to batch the rules files from the jessKB, then jess tels me that cannot find the required feature. The problem is that i put the rules files in a reference library, the path to the rules files lies in the classpath, so from my point of view it should work with no problem. Can somebody help me with these? I give some more details bellow.

Two projects lie in the workspace

project1- contains the main method (the one that start the application), the rules files in the reference libraries, and contains a reference to the project2 (the one that contains the singleton of jess, jessKB). project2 - contains the singleton (jessKB), with all the needed functions implemented (like run, batch, assert, etc.). although project2 doesn't know nothing about project1, and is supposed not to know because is a complete independent project.

The classpath looks like this:
-classpath */nfs/ticfiler-tic1001/work/nestor/dk256/workspace/DecisionSupportApp/bin*:
/opt/opensplice/3.3tnl1.0/HDE/x86.linux2.6/jar/dcpssaj.jar:
/opt/Jess/Jess70p1/lib/jess.jar:/work/nestor/top/dbs_jar/dbs_java.jar:
/work/nestor/top/dbs_jar/dbs.jar:/work/nestor/top/dbs_jar/xyzrbe.jar:
/work/nestor/dk256/software/worldwind/worldwind.jar:/work/nestor/dk256/software/worldwind/jogl.jar:
/work/nestor/dk256/software/worldwind/gluegen-rt.jar:*/work/stm/dk256/workspace/STMJess/bin*:
/work/stm/dk256/workspace/STMJess/Jess71p1/lib/jess.jar:
*/nfs/ticfiler-tic1001/work/nestor/dk256/workspace/DecisionSupportApp/rules* main.Main

the project1 is called DecisionSupportApp, the project2 STMJess, and rules files are inside the directory DecisionSupportApp/rules.

Regards,

Joao


-----------------
unclassified email



------------------------------------------------------------------------------------------------------------
Disclaimer:

If you are not the intended recipient of this email, please notify the sender and delete it. Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden. Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s). Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------

begin:vcard
fn;quoted-printable:Jo=C3=A3o Mour=C3=A3o
n;quoted-printable;quoted-printable:Mour=C3=A3o;Jo=C3=A3o
org:Thales;Above Water Systems
adr:;;;Hengelo;;;Netherlands
email;internet:[email protected]
title:THALES NETHERLANDS B.V.
tel;work:2640
note:-unclassified mail-
version:2.1
end:vcard

Reply via email to