Hi,

I'm using BRMS to generate a .pkg for an application

i need to generate the same file without BRMS:
i'm trying to use a drools-ant task, but, pkg file generated with drools-ant
task is not the same !!!
i don't found a specific documentation to do that ?

Somebody can help me please ?

thanks for your help

<project default="rules">
    <property name="eclipsepath"  value=""/>

    <path id="qirules.classpath">
        <pathelement location="${eclipsepath}../install/*"/>
    </path>

    <path id="drools.classpath">
        <fileset dir="${eclipsepath}../">
            <include name="**/*.jar"/>
        </fileset>
        <pathelement location="target"/>
    </path>

    <taskdef name="rulebase" classname="
org.drools.contrib.DroolsCompilerAntTask" classpathref="drools.classpath" />

    <target name="rules" >
        <rulebase
            srcdir="${eclipsepath}../rules/"
            tofile="${eclipsepath}../rules/FLIResultsUpdateRules.pkg"
            classpathref="qirules.classpath" >
            <include name="*.drl" />
        </rulebase>
    </target>

</project>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to