i am able to fire drl file as a string such that the string is in a single line 
but not a drl file as below,

package com.sample; import com.sample.BackDated; global com.sample.updateBDNB 
t; expander Back.dsl; rule "BACK DATE_3" when There is an application with "NB" 
There is a privilege of "BackDatedNB" then Backdated is allowed for "3" days  
end 

It throws me the following error,

org.drools.rule.InvalidRulePackage: unknown:0:-1 mismatched token: [EMAIL 
PROTECTED],0:0='<no text>',<-1>,0:-1]; expecting type EOL

        at org.drools.rule.Package.checkValidity(Unknown Source)
        at org.drools.reteoo.RuleBaseImpl.addPackage(Unknown Source)
        at com.sample.DroolsBDNB.main(DroolsBDNB.java:66)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966881#3966881

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966881
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to