[rules-users] How to create global functions?

2009-04-13 Thread dhai
Is it possible to create functions global and call them from various .drl files? I have common code that I want to call from various consequences of rules written in separate .drl files. I do not want to write helper Java class. -- View this message in context: http://www.nabble.com/How-to-creat

Re: [rules-users] How to traverse a hierarchy?

2009-04-13 Thread Edson Tirelli
If I understood correctly, all you need to do (in Drools 5) is to use rule inheritance. Also, in case your "non-leaf" rules have nothing to do in their consequences, you can mark them with attribute "enabled false". https://svn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test

[rules-users] How to traverse a hierarchy?

2009-04-13 Thread Charles Binford
All, I'm trying to figure out a better way to solve this problem. I have a batch of objects that I want matched against a hierarchy of rules. I check the rules in order, and as soon as I find a match I'm done for that level of the hierarchy. In other words, If the object matches a rule, we'll c

Re: [rules-users] Forrest Vs DocBook - your experience

2009-04-13 Thread Mark Proctor
Arjun Dhar wrote: Hey, I think I saw Apache-Forrest being used in your docs earlier sometime. Now when I look at the POM I see DOC Book plugin. The Drools documentation is 'pretty' (thanks); just wanted to know if you guys employ forrest. And Are you using the two together or your doing away wi

[rules-users] Forrest Vs DocBook - your experience

2009-04-13 Thread Arjun Dhar
Hey, I think I saw Apache-Forrest being used in your docs earlier sometime. Now when I look at the POM I see DOC Book plugin. The Drools documentation is 'pretty' (thanks); just wanted to know if you guys employ forrest. And Are you using the two together or your doing away with one (and whats th