[rules-users] create .pkg file with or without BRMS

Arnaud Bouzinac abouzinac at gmail.com
Wed Nov 14 02:52:27 EST 2007


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071114/21144ce9/attachment.html 


More information about the rules-users mailing list