[rules-users] multiple rule package files in change-set.xml

devan.vanreenen at gmail.com devan.vanreenen at gmail.com
Wed May 16 11:45:38 EDT 2012


Hi there, 

Please assist.

I have added2 package to my change-set.xml, they are "resources
uk.co.example.mapping.policy.pkg" and "uk.co.example.policy.validation.pkg",
the rules in "uk.co.example.mapping.policy.pkg"  infer facts required by
"uk.co.example.policy.validation.pkg".

When all the rules are in one package, then the rule fires as expected.
However when splitting the rules into 2 packages in 1 change-set.xml the
rule does not fire. 

<?xml version="1.0" encoding="UTF-8"?>
<change-set xmlns="http://drools.org/drools-5.0/change-set"
	  xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
	  xs:schemaLocation="http://drools.org/drools-5.0/change-set
drools-change-set-5.0.xsd" >

    <add>
      <resource
source="file:///usr/local/applications/example/BRMSFiles/uk.co.example.mapping.policy.pkg"
type="PKG"/>
	  <resource
source="file:///usr/local/applications/example/BRMSFiles/uk.co.example.policy.validation.pkg"
type="PKG"/>
    </add> 
	
	
</change-set>

--
View this message in context: http://drools.46999.n3.nabble.com/multiple-rule-package-files-in-change-set-xml-tp3997363.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list