[rules-users] picking up rules files when deploying application

Asif Iqbal Asif.Iqbal at infor.com
Fri Nov 20 07:23:33 EST 2009


Hi all,

I have placed my rules files under the src/main/resources/com/test/rules

And my changset xml looks like the following:

<?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 change-set.xsd' >
      <add>
            <resource source='file:/com/test/rules' type='DRL'/>
      </add>
</change-set>


But when I run it in mule, it cannot find the location throwing FileNotFoundException \com\test\rules

Now im not sure what to write in the xml so that it finds the rules files.

regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091120/9bb340fc/attachment.html 


More information about the rules-users mailing list