Re: [rules-users] DSL Troubles

2007-08-28 Thread Edson Tirelli
May I ask you please to open a JIRA and attach a self contained test that shows your error? I will take a look. Thanks 2007/8/28, Andreas Boehm <[EMAIL PROTECTED]>: > > Thanks Edson, > > I upgraded to 4.0.0GA but unfortunately this didn't do the trick. > > Greetings, > Andreas > > > On Tues

Re: [rules-users] DSL Troubles

2007-08-28 Thread Andreas Boehm
Thanks Edson, I upgraded to 4.0.0GA but unfortunately this didn't do the trick. Greetings, Andreas On Tuesday 28 August 2007 23:23, Edson Tirelli wrote: > http://labs.jboss.com/drools/downloads.html ___ rules-users mailing list rules-users@lists.jbos

Re: [rules-users] I can use RuleAgent without .properties file ???

2007-08-28 Thread Edgardo
Thanks Fernando, I have solved the problem See you in another thread :D En Tue, 28 Aug 2007 17:26:47 -0400, Fernando Meyer <[EMAIL PROTECTED]> escribió: you can use something like this. Properties p = new Properties(); p.setProperty("url", your url) ...

Re: [rules-users] I can use RuleAgent without .properties file ???

2007-08-28 Thread Fernando Meyer
you can use something like this. Properties p = new Properties(); p.setProperty("url", your url) ... RuleAgent aa = RuleAgent.newRuleAgent( p ) Fernando Meyer http://fmeyer.org [EMAIL PROTECTED] PGP: 0xD804DDFB On Aug 27, 2007, at 6:32 PM, Edgardo wrote: Hi

Re: [rules-users] DSL Troubles

2007-08-28 Thread Edson Tirelli
Andreas, Can you please try 4.0GA? http://labs.jboss.com/drools/downloads.html Thanks Edson 2007/8/28, Andreas Boehm <[EMAIL PROTECTED]>: > > Hi all, > > I'm using JBoss Rules 4.0.0.12865MR3 and trying to use a DSL expander in > my > DRL file: > > package docmap.logic > impor

[rules-users] DSL Troubles

2007-08-28 Thread Andreas Boehm
Hi all, I'm using JBoss Rules 4.0.0.12865MR3 and trying to use a DSL expander in my DRL file: package docmap.logic import docmap.facts.* expander test_expander.dsl I didn't forget to also initialize the PackageBuilder: builder.addPackageFromDrl(sourceReader, dslReader) At runtime I al

[rules-users] Decision Tables

2007-08-28 Thread Hehl, Thomas
I'm having trouble figuring out the ACTION section of a decision table. Everything else appears to be working. My rules result in a simple True/False condition. To do this in a decision table, I've created a class called BooleanAnswer that looks like: public class BooleanAnswer {

[rules-users] NPE on DecisionTable rule

2007-08-28 Thread Hehl, Thomas
Hey, gang! I have a decision table that generated the following rule: {other rules removed} #From row number: 19 rule "postponePart_19" when PoolInfo(courtLocation == "101") PoolInfo(statusCode >= 0, statusCode <= 2) PoolInfo(numberFta

[rules-users] Date comparasion does not work in 3.0.6?

2007-08-28 Thread jack wu
can any one confirm this: i tested: 1.m : Message( date > "2007-Mar-12", message : message ) 2. m : Message( date == "2007-Mar-12", message : message ) 3. m : Message( date < "2007-Mar-12", message : message ) only 2 works. 1 and 3 throws: java.lang.RuntimeException: Operat

Re: [rules-users] facts comparison

2007-08-28 Thread Edson Tirelli
Sure: $p1 : Person(...) $p2 : Person( this == $p1, ... ) "this" is a special self reference field. You can use any operator, obviously: ==, !=, memberOf, contains, etc, as appropriate. []s Edson 2007/8/28, hypnosat7 <[EMAIL PROTECTED]>: > > > Hi, > > I need to compare 2 facts for

[rules-users] facts comparison

2007-08-28 Thread hypnosat7
Hi, I need to compare 2 facts for example : $p1:Person(age==30) $p2:Person(age==40) $p1==$p2 can I do this comparison directly without usinfg the eval ? thanks -- View this message in context: http://www.nabble.com/facts-comparison-tf4341918.html#a12368537 Sent from the drools - user mailing