Basically you need to add the drools-ant on your classpath <br><br>define your compile task <br><br><pre>        &lt;taskdef name=&quot;rulebase&quot; classname=&quot;org.drools.contrib.DroolsCompilerAntTask&quot; classpathref=&quot;drools.classpath&quot; /&gt;<br>
<br>And use the rulebase task as the following example<br><br>        &lt;target name=&quot;rules&quot; &gt;<br>                &lt;rulebase <br>                        srcdir=&quot;${eclipsepath}src/test/resources/rules&quot;                 <br>                        tofile=&quot;${eclipsepath}target/cheese.rules&quot;<br>
                        classpathref=&quot;cheese.classpath&quot; &gt; <br>                        &lt;include name=&quot;*.drl&quot; /&gt;<br>                        &lt;include name=&quot;*.brl&quot; /&gt;<br>                        &lt;include name=&quot;*.xml&quot; /&gt;<br>                        &lt;include name=&quot;*.dslr&quot; /&gt;                        <br>
                &lt;/rulebase&gt;<br>        &lt;/target&gt;<br>        <br><br>you can see my test XML file here <a href="http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-ant/src/test/resources/DroolsAntTask.xml">http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-ant/src/test/resources/DroolsAntTask.xml</a><br>
</pre><br><div class="gmail_quote">On Fri, Mar 7, 2008 at 5:59 PM, Eric Miles &lt;<a href="mailto:eric.miles@kronos.com">eric.miles@kronos.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I see numerous references to the Ant task in the documentation but see<br>
no documentation on how to use it. &nbsp;Where can I find some? &nbsp;Google<br>
turned up nothing...<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><br clear="all"><br>-- <br>Fernando Meyer <a href="http://fmeyer.org">http://fmeyer.org</a><br>JBoss Rules Core Developer<br><a href="mailto:fernando@fmeyer.org">fernando@fmeyer.org</a>