[rules-users] RE: Reverse Engineering

2007-12-17 Thread Sikkandar Nawabjan
Hi, I have one doubt regarding reverse engineering. I have rulebase(set of drls and corresponding dsls). From the existing file sources i want to use it as input to rule flow and brms. can i do that? If so can you briefly tell me how to do that Sikkandar Basha Tech Lead

[rules-users] BaseDescr and addOrMerge method

2007-12-17 Thread Raffaele Viola
Hi all, I'm searching for a description about the way to use the addOrMerge method in the BaseDescr interface, but in the Drools 4.0.3 API there are nothing? Can someone help me? Thanks in advance Raffo ___ rules-users mailing list

Re: [rules-users] BaseDescr and addOrMerge method

2007-12-17 Thread Edson Tirelli
Raffaele, This method is used specially by optimization procedures in drools compiler, so that connectives like AND that contain a child AND are merged in a single one, etc. Best way to learn about how it is used is to look at the DRL.g grammar. []s Edson 2007/12/17, Raffaele

[rules-users] from l18n syntax question

2007-12-17 Thread Waruzjan Shahbazian
Hi all, I have the following problem: There is an Product classe which contains localized title with the getter: public LocalizedString getTitle() { return _title; } Localizes is a classe with private final MapLocale, T _bindings; and has the public getter: public T

Re: [rules-users] BaseDescr and addOrMerge method

2007-12-17 Thread Mark Proctor
Raffaele Viola wrote: Hi all, I'm searching for a description about the way to use the addOrMerge method in the BaseDescr interface, but in the Drools 4.0.3 API there are nothing? Can someone help me? Just look at the code: public void addOrMerge(final BaseDescr baseDescr) { if (

[rules-users] New functionality not working?

2007-12-17 Thread Andrew Robinson
I upgraed my jboss seam and got the new drools-core and drools-compiler installed. In my maven pom.xml, I am loading 4.0.3 of each. My rule is not loading though. Rule from entity-rules.drl: // Resource type (this is line 16) rule Resource type changes no-loop activation-group permissions

[rules-users] Could not load property

2007-12-17 Thread Rahul Upadhyay
Hi I am made an application in struts,write some rules in drl file. deployed it with BRMS. now I am trying it with rule agent with rule.properties file or using drl file directly by setting path in classpath. but always find following error 11:56:31,696 ERROR [STDERR]

[rules-users] How to disable a rule during runtime?

2007-12-17 Thread velven
HI, Can I disable some certain rule's firing during runtime? Something like, after 20 seconds, this certain rule should be removed, any api methods to do this besides making the rule to match such a constraint? Can I create a rule dynamically and add it during run time? Thank you, in advance!

[rules-users] Could not load property

2007-12-17 Thread Rahul Upadhyay
Hi I am made an application in struts,write some rules in drl file. deployed it with BRMS. now I am trying it with rule agent with rule.properties file or using drl file directly by setting path in classpath. but always find following error 11:56:31,696 ERROR [STDERR]