Dear List,
 
I was using JESS60a5 for a while using it from within JAVA. The snipplet:
 
    ...
    try{
    Deftemplate dt = new Deftemplate("obs", "spatial percepts");
    Value zero = new Value(StartUpParameters.nodataValue, RU.INTEGER);
    dt.addSlot("x", zero, "NUMBER");
    dt.addSlot("y", zero, "NUMBER");
    Vector attribs = env.getAttributeList();
    for (byte c = 0; c < attribs.size(); c++){
     String attrib = (String)attribs.get(c);
     dt.addSlot(attrib, zero, "NUMBER");
    }
 
  was working fine
 
After a pc crash  I installed Jess60 the "jar" version
 
Now I'am getting the error:

--------------------------- Compiler Output ---------------------------

Model\Agent.java:218: Deftemplate(java.lang.String,java.lang.String) has private access in jess.Deftemplate

Deftemplate dt = new Deftemplate("obs", "spatial percepts");


Can't get any access anymore,
 
Has anyone an idea whats causing the problem and how to solve it
 
Thank in advance
 
Regards
 
Arend Ligtenberg
Centre for Geo-Information
Wageningen University   
 
 

Reply via email to