Re: [rules-users] Deprecated Drools packages?

2011-07-26 Thread Wolfgang Laun
When you download and unzip drools-distribution-5.2.0.Final.zip, the subdirectory javadoc documents the stable API. -W On 26 July 2011 10:35, Andre morpheusan...@web.de wrote: wolfgang laun wrote that this would be stable ... org.drools.runtime.rule see

Re: [rules-users] Deprecated Drools packages?

2011-07-26 Thread Mark Proctor
On 26/07/2011 09:35, Andre wrote: wolfgang laun wrote that this would be stable ... Anything in the jar knowledge-api is public and stable, everything else is deprecated and internal. Mark org.drools.runtime.rule see

Re: [rules-users] Deprecated Drools packages?

2011-07-26 Thread Mark Proctor
On 26/07/2011 10:25, Mark Proctor wrote: On 26/07/2011 09:35, Andre wrote: wolfgang laun wrote that this would be stable ... Anything in the jar knowledge-api is public and stable, everything else is deprecated and internal. See the 5.0.0 new and noteworthy

[rules-users] Java 1.4 Application

2011-07-26 Thread Sumeet Karawal
Hi All, I have to use Drools in a Java Application with Java version 1.4 Can I use Drools 5.0 for that or do I have to use Drools 4.0.x version? Please help me on this. Thanks Regards Sumeet Karawal Mailto: sumeet.kara...@tcs.com =-=-= Notice: The information contained

[rules-users] Rules influencing each other ?

2011-07-26 Thread Andre
during my tests i see, that when data is evaluated from other rules than the third one, the third will not fire, even if the right combination of events occur and when the same events occur without any other events, then the third one works , any idea ?? rule Request counting Subject By Id

Re: [rules-users] evaluating different aspects of the same event

2011-07-26 Thread Andre
does that also mean, that when for example 2 threads insert objects , they also will evaluate the accumulate function twice? there will also be 2 contexts so that this example doesnt count the Requests of the WorkingMemory, it just counts the Requests the thread has inserted? Example $set:

[rules-users] Drools core 5.2.0.Final and debug messages

2011-07-26 Thread Patricia Bogoevici
Hi The application that I am working on uses Drools. I am using Drools 5.1.1 release, and now I am testing the app with 5.2.0.Final version. First thing that I noticed is that in debug mode, the messages from the ResourceChangeScanner are not printed out in the debug console.I checked the

[rules-users] Not able to get the knowledgeBase from web application

2011-07-26 Thread jilani
Hi, I am working with Drools 5.2.0 final and Guvnor also the same version. application server: GateIn-3.1.0-FINAL-jbossas I have uploaded a java model and defined a rule using that model. I did validation of the package and build also. After that in my web application, when I am trying to

[rules-users] enums and subclass under guvnor : no listbox

2011-07-26 Thread Vincent LEGENDRE
Hi all I have two simple classes : The parent class has a field that is an enum. The other class inherits from the parent class. Under Guvnor, everything is OK for the parent class : when I add a constraint on the enum field, I see a listbox with enum values But for sub-class, the same

Re: [rules-users] enums and subclass under guvnor : no listbox

2011-07-26 Thread Michael Anstis
Sounds like it. When raising the JIRA please can you provide an example repo? Also, please state whether the sub-class a declared type or a POJO in a JAR model. Thanks, Mike 2011/7/26 Vincent LEGENDRE vincent.legen...@eurodecision.com Hi all I have two simple classes : The parent class

[rules-users] Flow isn't behaving as I'd expect

2011-07-26 Thread Jamie
I'm having some issues with the interaction between Flow, ruleflow-groups and AgendaFilters. I've tried it with 5.1.1, 5.2.0 using .rf files and 5.2.0 using .bpmn files, all with the same results, so I'm sure I'm just misunderstanding something. I have a flow that looks like this:

Re: [rules-users] Capitalized element names

2011-07-26 Thread Edson Tirelli
Hi Tom, I've seen this before and AFAIK, the javaBeans spec always transforms the first letter to lowercase when converting a get method into a property name. We can try to address this in future releases, maybe falling back to uppercase if the lower case property name lookup fails, but I

[rules-users] FW: Capitalized element names

2011-07-26 Thread Tom.E.Murphy
Thanks Edson, however here is more info on the issue as I've been playing with it: 1. I have other elements in other objects referenced within the same rule group that start with capital letters and they have no problem. Example: , FHAMaxBaseMortgageWithToleranceAmt

Re: [rules-users] FW: Capitalized element names

2011-07-26 Thread Edson Tirelli
If one works and the other doesn't, then we have a problem. It must work if you make the first letter lowercase, as that is part of the javabeans spec. Feel free to open a JIRA and we will take a look at it. Edson 2011/7/26 tom.e.mur...@wellsfargo.com Thanks Edson, however here is

Re: [rules-users] FW: Capitalized element names

2011-07-26 Thread Wolfgang Laun
Edson, please also not JBRULES-3147: Regression: all uppercase field reference results in compile error. Some forms used to work in 5.1.1 that don't in 5.2. I've added the gist of this thread to JIRA-3147. -W 2011/7/27 Edson Tirelli ed.tire...@gmail.com If one works and the other

Re: [rules-users] Processing a collection within a fact object

2011-07-26 Thread Wolfgang Laun
On 26 July 2011 22:47, kirkm kirkms...@gmail.com wrote: I have an application that is inserting a fact object into a session. The object has a collection in it that is being iterated and each of the individual children objects is being inserted into the session with a reference back to

[rules-users] Can someone help me ?

2011-07-26 Thread 祝英杰
When I use the drools, I want to store the rules in the SQL Server Database, Can someone help me and give me some advices, how do I do it? Thanks! ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] evaluating different aspects of the same event

2011-07-26 Thread Wolfgang Laun
On 26 July 2011 17:40, Andre morpheusan...@web.de wrote: does that also mean, that when for example 2 threads insert objects , they also will evaluate the accumulate function twice? No. there will also be 2 contexts Why - do you assume they'll be kept on the thread stack? so that