Why are you trying to work with BRL format? This format is only used to store rules in guvnor/eclipse and it is not prepared to be used in any environment. The main problem is that BRL doesn&#39;t contain all the information needed to be compiled. For example, it doesn&#39;t contain any package nor import definition.<div>

What you could try is to add a DRL in your change-set (before the BRL)  containing only the import statements. Could you please try it and tell me the results?</div><div><br></div><div>Best Regards, <br><div><br clear="all">

<br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Wed, Dec 29, 2010 at 8:23 AM, Bruno Freudensprung <span dir="ltr">&lt;<a href="mailto:bruno.freudensprung@temis.com">bruno.freudensprung@temis.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I would like to build a KnowledgeBase using the &quot;KnowledgeAgent +<br>
change-set&quot; method but I can&#39;t get it working when the change-set<br>
references a BRL that needs an &quot;drools.package&quot; file (for imports): I<br>
get errors like &quot;[2010:12:363 12:12:31:debug] KnowledgeAgent has<br>
KnowledgeBuilder errors  object=Unable to resolve ObjectType...&quot;.<br>
<br>
Here is my change-set.xml file:<br>
<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;change-set xmlns=&quot;<a href="http://drools.org/drools-5.0/change-set" target="_blank">http://drools.org/drools-5.0/change-set</a>&quot;<br>
    xmlns:xs=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot;<br>
    xs:schemaLocation=&quot;<a href="http://drools.org/drools-5.0/change-set" target="_blank">http://drools.org/drools-5.0/change-set</a><br>
<a href="http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd" target="_blank">http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd</a>&quot;&gt;<br>


    &lt;add&gt;<br>
        &lt;resource source=&quot;classpath:misc/KBuilder_Test.brl&quot; type=&quot;BRL&quot; /&gt;<br>
    &lt;/add&gt;<br>
&lt;/change-set&gt;<br>
<br>
Please note that it works when the change-set references a DRL resource<br>
instead of a BRL. Adding the &quot;drools.package&quot; file as a DRL resource<br>
does not work neither.<br>
<br>
The only Jira that seems to be related is:<br>
<a href="https://issues.jboss.org/browse/JBRULES-2103" target="_blank">https://issues.jboss.org/browse/JBRULES-2103</a><br>
<br>
Does any of you has an idea?<br>
<br>
Many thanks in advance,<br>
<br>
Best regards,<br>
<br>
Bruno.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div></div>