No, I don't have this messge.
how I can set up rules on my project?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081187#4081187
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081187
___
If you have your logging level set to INFO you should see the following log
message printed out:
| 14:39:48,750 INFO [RuleBase] parsing rules: /META-INF/security.drl
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081026#4081026
Reply to the post :
No problem, the jars that are no longer needed are as follows:
antlr-2.7.6.jar
antlr-3.0ea8.jar
commons-jci-core-1.0-406301.jar
commons-jci-janino-2.4.3.jar
commons-lang-2.1.jar
commons-logging-api-1.0.4.jar
drools-compiler-3.0.5.jar
drools-core-3.0.5.jar
janino-2.4.3.jar
stringtemplate-2.3b6.jar
Hi Shane. Could you list the jars that are no longer needed? Obviously the
older versions of the one you mentioned in your post. But if there were other
jars there needed only by the older version of Drools, I'd rather clean them
out.
Thanks
View the original post :
http://www.jboss.com/in
Thanks for your replies.
Petemuir, I know there's some support for rules on Seam but I need to stay away
from Seam by now.. shame.
dgallego, thanks, I'll copy that. The .drl file will be then packaged in my
.jar file? (something like..)
mypackage.jar
|
|_mypackage.bean
| |_ ejb classes
You shouldn't use an absolute path to load your rules.
Instead, use this method (extracted from Drools examples and modified).
| public static RuleBase readRule(Class readerClass, String rulesFile, String
rulesDslFile) throws Exception
| {
| if (rule
I can't help you with your problem (have you tried the mailing list linked off
http://labs.jboss.com?)
but
have you looked at Seam's Drools support? It allows you to inject the working
memory object and not have to load the rules file from disk.
View the original post :
http://www.jboss.com/i