Re: [rules-users] Conflict Resolvers in 5.0 M5

2009-02-04 Thread Mark Proctor
Dan Seaver wrote: I'm in the process of upgrading drools from 4 to 5.0 M5 and ran into a problem with setting the conflict resolver priority order. It doesn't appear that KnowledgeBaseConfiguration supports the ability to use ConflictResolver or CompositeConflictResolver as the old RuleBaseConfig

[rules-users] How to Handle Decision Table (XSL files) in Drools version 4.0.7

2009-02-04 Thread Hong-Qiang Gao
Is there a better way to handle Decision Table (XSL files) with Drools version 4.0.7? In Drools 2.1, I can do the following; file = new File(dir, XSL_filename); InputStream stream = null; RuleBase ruleBase = null; WorkingMemory wm = null; try { stream = new FileInput

[rules-users] Drools-solver -- solution questions

2009-02-04 Thread Andrew Waterman
Hello, I'm starting to work with the drools-solver to help on a gaming project. Basically, we have a game that works in two modes: 1) a competitive game where humans (or agents) compete with one another on a well defined game board to achieve 24 points by using three (or four) agricultu

Re: [rules-users] problem in Maven tests: class antlr CharStream not found, although it is there!

2009-02-04 Thread Edson Tirelli
You need antlr-runtime jar in your classpath, although maven should get it as a transitive dependency. Try running: mvn help:effective-pom That will show you what maven is using as pom after resolving dependencies. If antlr-runtime jar is not there or if you have the wrong version, t

[rules-users] Conflict Resolvers in 5.0 M5

2009-02-04 Thread Dan Seaver
I'm in the process of upgrading drools from 4 to 5.0 M5 and ran into a problem with setting the conflict resolver priority order. It doesn't appear that KnowledgeBaseConfiguration supports the ability to use ConflictResolver or CompositeConflictResolver as the old RuleBaseConfiguration did. How ar

[rules-users] problem in Maven tests: class antlr CharStream not found, although it is there!

2009-02-04 Thread tim tim
hello all my problem is that my tests work fine in eclipse, but they don't work in maven. when i execute my code via mvn test drools cant find the antl CharStream class. this is the error i get: java.lang.NoClassDefFoundError: org/antlr/runtime/CharStream at org.drools.compiler.