[rules-users] Use of DroolsManagementAgentMBean

2011-01-20 Thread asutosh_pandya
Hello all, I need to grab all the information/statistics after firing all the rules. It is observed that the same can be achieved by different event listeners in drools. But I don't want to use listeners, instead I need all the information after firing all the rules. Going through the Drools API,

[rules-users] Some doubts on Guvnor

2011-01-20 Thread Diego Martins
Hello! So, let'me explain what is happening first... I'm developing a project based on seam 2.2.0, and we used to have guvnor (5.0.1) working perfectly. So, suddenly I decided it was time to move on and start using the newest version (5.1.1, i guess). Made a backup of the older version, configur

Re: [rules-users] JDK1.5 Future for Drools and jBPM

2011-01-20 Thread rouvas
Will be using JDK5 for the forseable future. -Stathis Mark Proctor wrote: > http://blog.athico.com/2011/01/jdk15-future-for-drools-and-jbpm.html > > Dropping JDK1.5 is something that rears it's head from time to time, and > we know we have to address it sooner or later. > > We recognise that the

Re: [rules-users] Why Using "from" Always Return A New Fact?

2011-01-20 Thread Mark Proctor
On 20/01/2011 16:28, Greg Barton wrote: > When you say "owning 100% of the language syntax" does that include the RHS? > Just curious. yes. Mark > GreG > > On Jan 19, 2011, at 22:04, Edson Tirelli wrote: > >>As of Drools 5.1.1, drools looks at the expression in "from" as a >> black box. Eve

Re: [rules-users] Drools Release 5.2

2011-01-20 Thread Mark Proctor
On 20/01/2011 17:52, Rob Fisher wrote: Mark Any chance you have an ETA for 5.2? feb/mar Mark Thanks Rob Date: Thu, 20 Jan 2011 06:18:24 -0800 (PST) From: alim <_audrey.lim@it-vision.com_> Subject: [rules-users] Drools Release 5.2 To:_rules-users@list

Re: [rules-users] Drools Release 5.2

2011-01-20 Thread Rob Fisher
Mark Any chance you have an ETA for 5.2? Thanks Rob Date: Thu, 20 Jan 2011 06:18:24 -0800 (PST) From: alim Subject: [rules-users] Drools Release 5.2 To: rules-users@lists.jboss.org Message-ID: <1295533104306-2294771.p...@n3.nabble.com> Content-Type: text/plain; charset=us-ascii Hi, I was w

Re: [rules-users] Why Using "from" Always Return A New Fact?

2011-01-20 Thread Edson Tirelli
Yes, but just to clarify: as it is now, we parse semantic blocks of code like RHS as a black box (chunk if you will) and then re-parse that with the appropriate dialect parser (like java). Same for expressions in the rule, that we chunk and delegate to MVEL. That is why, for instance, to write a

Re: [rules-users] Why Using "from" Always Return A New Fact?

2011-01-20 Thread Edson Tirelli
Yes, it might be different from version to version as we improve the overall algorithm. The reason for the different behavior is that under Drools 5.0 (and in most rule engines out there), every modify is just a retract+assert. So, the different fact handles would prevent the proper normalizatio

Re: [rules-users] Why Using "from" Always Return A New Fact?

2011-01-20 Thread Greg Barton
When you say "owning 100% of the language syntax" does that include the RHS? Just curious. GreG On Jan 19, 2011, at 22:04, Edson Tirelli wrote: > As of Drools 5.1.1, drools looks at the expression in "from" as a > black box. Every time it is executed, drools creates a new fact handle > to w

[rules-users] Drools with Hibernate, with dynamic types

2011-01-20 Thread Gabor Szokoli
Hi, I'm gathering the requirements for an odd system project, and I have a design idea that is centered around Drools. I'd like to hear everyones opinion. The project is in a really early stage of conceptual analysis, and I'm also near the start on the winding road exploring Drools. The requirem

Re: [rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-01-20 Thread Wolfgang Laun
I understand this so that there must be *exactly* 2 Option facts, and therefore: $o1: Option (code == "P1") $o2: Option (code == "P2") not Option( this != $o1, this != $o2 ) On 20 January 2011 14:33, Bruno Freudensprung wrote: > > Hello, > > Maybe could you try the following rule? > > rule "Mat

Re: [rules-users] Drools Release 5.2

2011-01-20 Thread Mark Proctor
On 20/01/2011 14:18, alim wrote: > Hi, > > I was wondering if there's already a planned release date for Drools Version > 5.2? no planned date yet. We are currently moving Guvnor of extjs, which is about 80% done. When that is done we'll look at pushing out a release. Mark > Kindest regards, > A

[rules-users] Drools Release 5.2

2011-01-20 Thread alim
Hi, I was wondering if there's already a planned release date for Drools Version 5.2? Kindest regards, Audrey -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Release-5-2-tp2294771p2294771.html Sent from the Drools - User mailing list archive at Nabb

Re: [rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-01-20 Thread Bruno Freudensprung
Hello, Maybe could you try the following rule? rule "Matched Options" when $o : Option (code == "P1") Option (this != $o, code == "P2") then System.out.println ( "Priced using G/S "); end Best regards, Bruno. groovenarula a écrit : > Hello, > > I have a fact called

[rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-01-20 Thread groovenarula
Hello, I have a fact called 'Option' : public class Option { private String code; private Item item; public String getCode() { return code; } public void setCode(String optionCode) { this.code = optionCode; } At an

[rules-users] JDK1.5 Future for Drools and jBPM

2011-01-20 Thread Mark Proctor
http://blog.athico.com/2011/01/jdk15-future-for-drools-and-jbpm.html Dropping JDK1.5 is something that rears it's head from time to time, and we know we have to address it sooner or later. We recognise that the majority of people would like to see JDK1.5 dropped, but there are still a few large

Re: [rules-users] Drools repository and accessing the rules engine from vb.net

2011-01-20 Thread Esteban Aliverti
I have to make a correction here. The KnowledgeAgent only provides a way to maintain a knowledge base updated. It doesn't have any capability to "execute" rules. A possible solution to execute rules from .NET could be the use of Drools Server ( http://hudson.jboss.org/hudson/job/drools/lastSuccessf

Re: [rules-users] Salience

2011-01-20 Thread Swindells, Thomas
Another way is to have a helper fact to help with the logic. In our case we have an "Affirmation" class with the tuple (name, subject, value). However salience does still have a purpose and is still a useful and required tool to order groups of rules - you just have to make sure you don't abuse i