[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 (age

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 change

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

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 for

[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

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

[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] 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

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

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.simple;

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