Re: [rules-users] Drools 6.0.0 activation-group + salience bug or feature?

2014-05-07 Thread Jan Šťastný
Thanks for answer, well I thought that the activation-group and salience applies only on the rules with the same LHS, I mean exact match by equality. But there it cancels different ones. Nevermind. The game doesn't exist (yet). It is for my diploma thesis coordinated by Red Hat. I have to

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mario Fusco
Hi Alex, sorry but I am not fully understanding your use case. You wrote that “drools_jar” is a kjar (i.e. is a project containing a kmodule.xml file) but project_jar” isn't. Nevertheless in your code snippet you're creating a KieContainer against project_jar” that actually isn't a kproject. Of

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mohit Srivastava
Hi, That was happened to me too, but I change the kie-ci version to 6.1.0.Beta2. That works for me. On Wed, May 7, 2014 at 1:56 PM, Mario Fusco mario.fu...@gmail.com wrote: Hi Alex, sorry but I am not fully understanding your use case. You wrote that “drools_jar” is a kjar (i.e. is a

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mario Fusco
Alex, sorry but what you're saying is just NOT possible and it doesn't depend on kie-ci. If your project_jar doesn't contain a kmodule.xml file, you CANNOT do something like: ReleaseId releaseId = ks.newReleaseId( com.study, project_jar, 0.0.1-SNAPSHOT ); KieContainer kContainer =

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mario Fusco
Oops, sorry Mohit (and sorry Alex). I didn't check the sender of the last email and I thought it was sent by the guy who opened this thread. However I confirm that it is not possible to create a KieContainer out of a project that doesn't contain a kmodule.xml file. Do you agree, Mohit? Mario

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mohit Srivastava
Yes. As much I know, kmodule.xml is mandatory to use KieContainer. On Wed, May 7, 2014 at 3:17 PM, Mario Fusco mario.fu...@gmail.com wrote: Oops, sorry Mohit (and sorry Alex). I didn't check the sender of the last email and I thought it was sent by the guy who opened this thread. However

[rules-users] Drools 6.0.1 Negative Patterns in Stream Mode not working

2014-05-07 Thread RichardAmbridge
I am using drools 6.0.1 and I have the following test. public class DroolsTest { public DroolsTest() { } @Test public void work() throws InterruptedException, IOException, ClassNotFoundException { StringBuilder sb = new StringBuilder(); sb.append(package

Re: [rules-users] KieScanner not working

2014-05-07 Thread pictin
However I confirm that it is not possible to create a KieContainer out of a project that doesn't contain a kmodule.xml file. Sorry, Mario, I didn't make myself clear. My project_jar is indeed a kjar. I just not looking to have any rules in project_jar dynamically updated. What I'm focusing on is

Re: [rules-users] KieScanner not working

2014-05-07 Thread Mario Fusco
Our Jira is here: https://issues.jboss.org/browse/DROOLS Can you please open a ticket there and also attach your sample projects so I can be sure that I am reproducing your issue? Thanks, Mario -- View this message in context:

Re: [rules-users] KieScanner not working

2014-05-07 Thread pictin
Created https://issues.jboss.org/browse/DROOLS-477 -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-KieScanner-not-working-tp4029446p4029466.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

[rules-users] How to implement immovable planning entities for vehicle routing problem?

2014-05-07 Thread Hagai
I am implementing a vehiclerouting like solution with OptaPlanner 6.0.1.Final. According to the documentation for continuous planning, the way to 'lock' parts of the solution is by declaring a movableEntitySelectionFilter on the planning entity: Section 14.3.1. Immovable planning entities.

Re: [rules-users] Drools 6.0.1 Negative Patterns in Stream Mode not working

2014-05-07 Thread Mark Proctor
Can you try 6.1 beta2? And if there is still a bug, please open a jira: http://mvnrepository.com/artifact/org.drools/drools-core/6.1.0.Beta2 Ideally please submit a self contained unit test, as a pull request. As explained here:

Re: [rules-users] Drools 6.0.1 Negative Patterns in Stream Mode not working

2014-05-07 Thread rjh
You should set TimedRuleExectionOption to YES. See here http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html_single/index.html#d0e592 -- View this message in context: