Hi,
can you provide complete example with required details so we can try to run
it locally and try to understand ant task with .brl to .drl conversion. as
we are not getting enough information for this.
Regards,
Jigar
Fernando Meyer wrote:
Basically you need to add the drools-ant on your classpath
define your compile task
<taskdef name="rulebase"
classname="org.drools.contrib.DroolsCompilerAntTask"
classpathref="drools.classpath" />
And use the rulebase task as the following example
<target name="rules" >
<rulebase
srcdir="${eclipsepath}src/test/resources/rules"
tofile="${eclipsepath}target/cheese.rules"
classpathref="cheese.classpath" >
<include name="*.drl" />
<include name="*.brl" />
<include name="*.xml" />
<include name="*.dslr" />
</rulebase>
</target>
you can see my test XML file here
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-ant/src/test/r...
On Fri, Mar 7, 2008 at 5:59 PM, Eric Miles <eric.miles(a)kronos.com> wrote:
> I see numerous references to the Ant task in the documentation but see
> no documentation on how to use it. Where can I find some? Google
> turned up nothing...
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
--
Fernando Meyer
http://fmeyer.org
JBoss Rules Core Developer
fernando(a)fmeyer.org
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
View this message in context:
http://www.nabble.com/Ant-compiler-task--tp15906277p18684653.html
Sent from the drools - user mailing list archive at
Nabble.com.