This integration test is a good place to start:
http://fisheye.jboss.org/browse/JBossRules/branches/4.0.x/drools-compiler/src/test/java/org/drools/integrationtests/DynamicRulesTest.java?r=19815

the drls referenced in the tests can be found here:
http://fisheye.jboss.org/browse/JBossRules/branches/4.0.x/drools-compiler/src/test/resources/org/drools/integrationtests/

Mark
cfili wrote:
What is the proper way to add rules to existing packages that are already
part of a rule base?

When adding rules to the package directly, those rules are listed in the
rule base however they do not seem to be "active" and will never trigger.  I
get the same results if I add rules to a package that was created by the
PackageBuilder but not part of an existing rule base.  Allowing Drools to
"merge" the packages also seems to yield a similar result where the first
set of rules are active, but what was added later or merged will not be
active.

I know that this type of activity is supported I just want to make sure I do
it the right way.

Thanks.


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to