Re: [rules-users] Dependency with JBoss

2007-06-07 Thread Mark Proctor
no, JBoss Rules is standalone. Mark Joj wrote: Hi, In the Drools documentation, it's written that : The rule workbench (for Eclipse) requires that you have eclipse 3.2 or greater, as well as Eclipse GEF 3.2 or greater. My application contains a GUI for building rules which 'll be converted

[rules-users] RE:[ rules-users] Rule engine is worth?

2007-06-07 Thread Sikkandar Nawabjan
Hi, I have a question. After gone through several rule engines and rule engine documents i learned the capability of rule engine is very good interms of giving coding/changing rules to business analyst.he able to modify the rule without the help of technical person. But the reality is not so. i

[rules-users] DRL to Decision Tables

2007-06-07 Thread suma
Hi, Is there anyway to convert a DRL file into a Decision table. This means that what ever changes are made to the DRL file should be reflected to the decision table. Or is there any other way in which the customer should be able to make changes to decision tables through DRL file. Please

Re: [rules-users] Dependency with JBoss

2007-06-07 Thread Joj
Is it means that Drools doesnt require JBoss as an environment? Mark Proctor wrote: no, JBoss Rules is standalone. Mark Joj wrote: Hi, In the Drools documentation, it's written that : The rule workbench (for Eclipse) requires that you have eclipse 3.2 or greater, as well as

Re: [rules-users] Setting object's WRAPPER OBJECTS fields to complex result in RHS

2007-06-07 Thread Joj
But I believe tht thr ll be pbms if v try 2 simply operate on fields if their types r wrapper objects.. For e.x: If the marks were Double, v cant simply write as : student.setTotal( mark1 + mark2 ); instead, v have 2 write as : student.setTotal( Double.valueOf( Double.parseDouble(23) +

[rules-users] RE: [rule-users]Drools support of Unix platform

2007-06-07 Thread Sikkandar Nawabjan
Hi, We implemented our project using Drools3.6. we plan to port it on IBM AIX platform. Is there any shower stopper can anticipate? Drools3.6 is tested on AIX? Thanks and Regs, Basha winmail.dat___ rules-users mailing list rules-users@lists.jboss.org

RE: [rules-users] rule not valid...

2007-06-07 Thread Manukyan, Sergey
Rahul, Same thing happens when I run examples HelloWorld: --- Exception in thread main java.lang.IllegalArgumentException: The rule called Hello World is not valid. Check for compile errors reported. at org.drools.common.AbstractRuleBase.addRule(AbstractRuleBase.java:363) at

[rules-users] RE: rules-users Digest, Vol 7, Issue 15

2007-06-07 Thread Wagner Rick - rwagne
Hi all, I'd like to make a comparison of two attributes on the same object, but would like to do it in one line to facilitate easy DSL. Example: Class Tree{ int oldNumberLeaves; int newNumberLeaves; } What I'd like to say is when the oldNumberLeaves newNumberLeaves then

[rules-users] objects

2007-06-07 Thread Chris Mathrusse
I'm new to the rules syntax and a bit frustrated with trying to learn it. I've reviewed the docs but keep running into the same issue. I have a parent object, Message, that contains an Order. An Order has a status that I want to test. So looking at the documentation and taking my best guess I've

Re: [rules-users] embedded objects

2007-06-07 Thread Krishnan
Hi Christopher, Try this out. * rule *Order not Accepted *when* *Message ( state1 : state, order1 : order)* *eval(state1 == MessageState.RELEASING order1.requestStatus == RequestStae.ACCEPT) * *then* *...* *end* -Krishnan. On 6/6/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

[rules-users] BRMS - How to access rules packages driectly from the repository - Rule Base Deployment

2007-06-07 Thread philokratis
We need to load rule packages (snapshots) directly from the repository, preferably from a jmx service in order build a rulebase and cache the rulebase in JNDI. How can we access a package snapshot directly from the repository ? Is there another way besides downloading the package through

Re: [rules-users] RE: rules-users Digest, Vol 7, Issue 15

2007-06-07 Thread Edson Tirelli
Assuming you are using 4.0, just bind one and compare to the other: rule XXX when Tree( $new : newNumberLeaves, oldNumberLeaves $new ) then // do something end []s Edson 2007/6/7, Wagner Rick - rwagne [EMAIL PROTECTED]: Hi all, I'd like to make a comparison of two attributes on

RE: [rules-users] objects

2007-06-07 Thread Christopher . Mathrusse
Thanks for the response. This clears things up greatly. I guess what I am struggling with at this point is the best approach to applying the rules. I looked over the Conway example I began to use the DSL editor. This seems to be a "best approach" to defining the rules but still left me

Re: [rules-users] comparison of two variables on same object, JBoss Rules 3.0.6

2007-06-07 Thread Edson Tirelli
Unfortunately, in 3.0.6, the only way is using eval in a subsequent pattern: when Tree( $old : old, $new : new ) eval( $old.intValue() $new.intValue() ) then // do something end Also, remember that 3.0.6 auto-wraps any primitive value, so the need to use the .intValue() method