Re: [rules-users] Using Character typed properties in Drool 5.3

2012-03-16 Thread Michael Anstis
AFAIK it fixes various regressions, but we have a reasonably complex dependency hierarchy so user-beware. sent on the move On 17 Mar 2012 01:06, "julia" wrote: > Great Will MVEL 2.1.0.drools9.jar work with guvnor5.3? > > -- > View this message in context: > http://drools.46999.n3.nabble.com

Re: [rules-users] Using Character typed properties in Drool 5.3

2012-03-16 Thread julia
Great Will MVEL 2.1.0.drools9.jar work with guvnor5.3? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Using-Character-typed-properties-in-Drool-5-3-tp3741968p3833621.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

Re: [rules-users] Using Character typed properties in Drool 5.3

2012-03-16 Thread Michael Anstis
I believe Mario is also releasing another version of MVEL on Monday, but drools9 might contain fixes for Characters. sent on the move On 17 Mar 2012 00:13, "Edson Tirelli" wrote: > > Try updating to MVEL 2.1.0.drools9.jar that Mario released a few days > ago. There are many fixes in there.

Re: [rules-users] Using Character typed properties in Drool 5.3

2012-03-16 Thread Edson Tirelli
Try updating to MVEL 2.1.0.drools9.jar that Mario released a few days ago. There are many fixes in there. Edson On Fri, Mar 16, 2012 at 7:53 PM, julia wrote: > Edson, > any word from Mario on how to get around this problem? > > We are importing a lot of POJOs with Character setters/gett

Re: [rules-users] Using Character typed properties in Drool 5.3

2012-03-16 Thread julia
Edson, any word from Mario on how to get around this problem? We are importing a lot of POJOs with Character setters/getters. I would hate to rewrite them all to Strings just to be able to work with Guvnor. Any advice would be appreciated. thanks! -- View this message in context: http://drools

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread devan.vanree...@gmail.com
Converted my existing Java project to a Drools Project using eclipse and debugging as a Drools application, as before, didnt work, however when I created a new Drools project and debugging the standard DroolsTest.java and sample.drl that is created when creating a new Drools project then I am able

Re: [rules-users] Fusion: Insert passed events

2012-03-16 Thread Edson Tirelli
Wolfgang's answer is spot on. Pretend that you are not using an engine... imagine that you are implementing a java method in a java application to handle this use case... how would you do it? Either you use the timestamp at the source or the timestamp at the engine. Either you execute your actio

Re: [rules-users] maven repository for drools 5.2.0.Final

2012-03-16 Thread Esteban Aliverti
This is the repo you should use: https://repository.jboss.org/nexus/content/groups/public/ Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Mar 16, 2012 at 2:42 PM, Sujit Biswas wrote:

[rules-users] maven repository for drools 5.2.0.Final

2012-03-16 Thread Sujit Biswas
Hi I am trying to make use of drools 5.2.0.Final jars , I tried the following repository in the pom jboss-public-repository-group JBoss Public Repository Group http://repository.jboss.org/nexus/content/groups/public-jboss/ the above repository does seems

Re: [rules-users] Doubt when modifying facts on an action

2012-03-16 Thread Michael Anstis
The Decision Table parser only adds the Fact type to the generated rule if it has at least one constraint. There is a workaround (although I've not tried it):- CONDITION | CONDITION | CONDITION | ACTION --

Re: [rules-users] Doubt when modifying facts on an action

2012-03-16 Thread Zeta
Hi, thanks for your responses. You right but, why is it? I mean, rules are receiving two facts(one Customer instance and one Tariff instance) and I need to set the customer offer value even when I am not checking any condition on the customer. Is it not possible? Is there any workaround? Thanks.

Re: [rules-users] Doubt when modifying facts on an action

2012-03-16 Thread Michael Anstis
The problem is RULE2 does not create a Customer pattern as you do not specify at least one constraint. CONDITION CONDITION ACTION Customer cTariff t customer.setOffer($param) name value RULE1 "pepe

Re: [rules-users] Doubt when modifying facts on an action

2012-03-16 Thread Wolfgang Laun
For which customer would you like to call setOffer()? If it isn't selected by the condition part you cannot use it in the action part. -W On 16 March 2012 13:26, Zeta wrote: > Hi all, > > my spreedsheet received 4 facts. I need all of them to check conditions but > not all of them are used in al

[rules-users] Doubt when modifying facts on an action

2012-03-16 Thread Zeta
Hi all, my spreedsheet received 4 facts. I need all of them to check conditions but not all of them are used in all rules. There are some rules that modify a fact which is not used in any of the conditions and thus, it is not "declared" on the left side of the rule. Let me show you an example:

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread Michael Anstis
Yes, to debug etc it needs to be a Drools Project and you need to "Debug as Drools Application" when launching. On 16 March 2012 11:27, Wolfgang Laun wrote: > So someone in the know please tell us: would this cause Devan's problems? > -W > > > On 16 March 2012 12:24, devan.vanree...@gmail.com <

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread Wolfgang Laun
So someone in the know please tell us: would this cause Devan's problems? -W On 16 March 2012 12:24, devan.vanree...@gmail.com wrote: > Its a Java project. > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-Eclipse-debug-views-Audit-Agenda-Working-Memory-etc-tp3831

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread devan.vanree...@gmail.com
Its a Java project. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Eclipse-debug-views-Audit-Agenda-Working-Memory-etc-tp3831318p3831559.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread Wolfgang Laun
Just a wild guess (born out of ignorance): Is the project where this happens a Drools project or just a Java project? -W On 16 March 2012 11:32, devan.vanree...@gmail.com wrote: > Using 5.2.1 > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-Eclipse-debug-views-Au

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread devan.vanree...@gmail.com
Using 5.2.1 -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Eclipse-debug-views-Audit-Agenda-Working-Memory-etc-tp3831318p3831453.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread Devan Van Reenen
I am using 5.2.1 tx 2012/3/16 Michael Anstis : > What version of the Eclipse plugin are you using? > > > On 16 March 2012 09:29, devan.vanree...@gmail.com > wrote: >> >> Hi there, >> >> Help needed pls. >> I have read previous threads from this forum on not being able to see any >> content on Dr

Re: [rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread Michael Anstis
What version of the Eclipse plugin are you using? On 16 March 2012 09:29, devan.vanree...@gmail.com wrote: > Hi there, > > Help needed pls. > I have read previous threads from this forum on not being able to see any > content on Drools Eclipse debug views - Audit, Agenda, Working Memory, etc > w

[rules-users] Drools Eclipse debug views - Audit, Agenda, Working Memory, etc

2012-03-16 Thread devan.vanree...@gmail.com
Hi there, Help needed pls. I have read previous threads from this forum on not being able to see any content on Drools Eclipse debug views - Audit, Agenda, Working Memory, etc when debugging rules and still cant seem to get this working I have tried the following suggestions I inspect my state

Re: [rules-users] Fusion: Insert passed events

2012-03-16 Thread javadude
I guess the engine use the insert fact timestamp and not the annotated timestamp for the non-existence of a event. Think it would not be easy to implement the engine, because you need to take care of past and future events. And for past events, both the events where the trigger did not pass yet and