[rules-users] drools-eclipse sources?

2008-07-02 Thread Markus Helbig
Hi everybody, where can i get the sources for drools-eclipse? I remember they were in svn but currently i can't find them there. Cheers Markus ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Feature request

2008-07-02 Thread Daniel Bevenius
Hi! I am also looking for the feature of being able to define constants in a rules file, that is mentioned in this thread (http://www.mail-archive.com/rules-users@lists.jboss.org/msg05142.html). Is this something that will be considered for a future release? I've been through the JIRA issues

Re: [rules-users] wordnet in drools

2008-07-02 Thread Mark Proctor
Paul Fodor wrote: Dear Sir, I am new to Drools and I wonder if anyone used WordNet from Drools. Basically, I want to make some simple joins, such as, find words that are in the same synset, all hypernyms of a word, hyponyms, meronyms of verbs, adjectives, etc. I haven't heard of it being appl

Re: [rules-users] how to find the rule name

2008-07-02 Thread Steven Williams
try String ruleName = ... On Thu, Jul 3, 2008 at 7:09 AM, Marina <[EMAIL PROTECTED]> wrote: > Hello, > > I need to know the rule name of the rule that fired in the consequence part > of the rule. I tried something like the following, just trying to see if I > can get it this way: > > package mode

[rules-users] wordnet in drools

2008-07-02 Thread Paul Fodor
Dear Sir, I am new to Drools and I wonder if anyone used WordNet from Drools. Basically, I want to make some simple joins, such as, find words that are in the same synset, all hypernyms of a word, hyponyms, meronyms of verbs, adjectives, etc. Regards, Paul Fodor ___

[rules-users] nqueens or puzzle16 problems

2008-07-02 Thread Paul Fodor
Dear Sir, I am new to Drools and I wonder if any of the classic declarative problems, such as, nqueens, puzzle16 were implemented in Drools by anyone. I realize that might be hard because of the bottom-up evaluation. Regards, Paul Fodor ___ rules-users

[rules-users] how to find the rule name

2008-07-02 Thread Marina
Hello, I need to know the rule name of the rule that fired in the consequence part of the rule. I tried something like the following, just trying to see if I can get it this way: package mode.simple; import java.lang.String; import java.util.List; import com.emptoris.ecm.domain.ContractRulesDat

Re: [rules-users] Function Compilation Error when using JANINO

2008-07-02 Thread Ming Fang
Janino does not support that style of for loop. --Ming On Jul 2, 2008, at 12:40 PM, "Garde, Varun (Equity Linked Technology)" <[EMAIL PROTECTED]> wrote: Hello, I am trying to use JANINO with drools 4.0.7. In my rule file I have a function definition, which is throwing a compilation error wi

Re: [rules-users] Function Compilation Error when using JANINO

2008-07-02 Thread Mark Proctor
Janino is only JDK1.4 compatible, so I dont think it supports that for loop. Mark Garde, Varun (Equity Linked Technology) wrote: Hello, I am trying to use JANINO with drools 4.0.7. In my rule file I have a function definition, which is throwing a compilation error with JANINO but works perfect

[rules-users] Function Compilation Error when using JANINO

2008-07-02 Thread Garde, Varun (Equity Linked Technology)
Hello, I am trying to use JANINO with drools 4.0.7. In my rule file I have a function definition, which is throwing a compilation error with JANINO but works perfectly with ECLIPSE compiler. The only janino in my classpath is v 2.5.10. Want to make sure I am not doing something stupid here. /* Dr

[rules-users] New rules in source file not loaded when application redeployed

2008-07-02 Thread Keith Bennett
I am packaging my rules as a drl source file in a jar that is then bundled in a war file that is then deployed to Tomcat. In my implementation, the rulebase is cached the first time it is used in my application, but when I add new rules to the source file and rebuild my application then redeploy it

Re: [rules-users] Beginner question about Dynamic Beans

2008-07-02 Thread fmarchioni
> that's strange. From my experience, only those rules that depend on > the cash property should be fired if the new value triggers an > activation that wouldn't have been triggered for the old value. Could > you post the code of your PropertyChangeSupport implementation? > Hi Marcus, thanks fo

Re: [rules-users] simple rule takes long time

2008-07-02 Thread Scott Reed
The LHS of "Change data" is true for every initial datum so I believe what is happening is that it sets all your isCheck flags true immediately before the "Unique Data" rule executes. I probably wasn't very clear about what the flag was supposed to do. I meant to suggest using a flag to record

RE: [rules-users] simple rule takes long time

2008-07-02 Thread Anstis, Michael (M.)
Hi, Rules are not executed as Facts are inserted into Working Memory. Basically, think of the Working Memory as a network of connected classes ("The RETE network"). As facts are inserted into Working Memory they enter the top of the network and propagate through it depending upon the patterns wit

Re: [rules-users] simple rule takes long time

2008-07-02 Thread ygaurav
Hi All I have few changes to my data class as suggested above and rule and it seems to work. But that brings me to another question. Here is my new data class Data class public class Data { private int id =0; public boolean isCheck = false; public Stri

Re: [rules-users] Beginner question about Dynamic Beans

2008-07-02 Thread Marcus Ilgner
Hi Francesco, On Wed, Jul 2, 2008 at 10:28 AM, fmarchioni <[EMAIL PROTECTED]> wrote: > > Hi all drools users! > I'm just learning Drools from the manual, I have a question about Dynamic > Beans. I have added PropertyChangeSupport and listeners to my Beans: I can > see that inside my rule, if I cha

[rules-users] Beginner question about Dynamic Beans

2008-07-02 Thread fmarchioni
Hi all drools users! I'm just learning Drools from the manual, I have a question about Dynamic Beans. I have added PropertyChangeSupport and listeners to my Beans: I can see that inside my rule, if I change one property the bean. rule "Check Age" salience 20 when b : Buyer (ag