[rules-users] Adding .package files to a KnowledgePackage

2012-09-11 Thread Paul Ryan
So drools will respect files with a .package extension as a place for declared types, functions, etc. when used with these in the class path. How can a import these into a KnowledgePackage/KnowledgeBase so they can get compiled along with stuff when this is not in the class path at startup? My u

[rules-users] Cutom Attributes in Drools

2012-09-11 Thread dme1
Hi, Is there support for Custom Attributes in Drools? What I want to do is add attributes which determines when rules should be fired as well as attributes that the rule updates which I can query at a later time. E.g. Fire rule only for specific regions. So when new rules are created/added BAs ca

[rules-users] problem when upgrading to 5.4.0.Final, got UnsupportedOperationException on an update call

2012-09-11 Thread Michal Bali
Hi all, I am upgrading an application from 5.3.0.Final to 5.4.0.Final and I am getting the following exception: Exception executing consequence for rule "ruleThatFails" in indexingproblem.remove.me.anditworks: java.lang.UnsupportedOperationException at org.drools.runtime.rule.impl.DefaultConsequen

Re: [rules-users] Continuous Planning values for task planning

2012-09-11 Thread Geoffrey De Smet
Op 11-09-12 04:02, Josef Bajada schreef: Hi Geoffrey, I managed to implement the solution with the relative end Times. (I haven't yet used the incremental score calculation because I haven't quite understood how I implement it)

[rules-users] ClasscastException in drools ant task

2012-09-11 Thread sk_mutyala
Hi All, I am trying to build a sample drools project using ant and getting the below error. I am using "drools-distribution-5.4.0.Final" release jars in my project. Unable to get this issue resolved as not sure what really went wrong. RuleBaseTask failed: Unable to load dialect 'org.drools.rule.b

Re: [rules-users] Guvnor Declarative Model

2012-09-11 Thread Vincent LEGENDRE
It may be faster to get the drools source code and change the generation by yourself. And post the new code to Edson ... - Mail original - De: "Jean-Paul Shemali" À: rules-users@lists.jboss.org Envoyé: Mardi 11 Septembre 2012 08:29:08 Objet: Re: [rules-users] Guvnor Declarative Model