Hi,<br><br>You can use below ant script to build .pkg files<br><br><project default="rules" name="RuleProject"><br> <br> <!-- Uncomment this for Maven Runner --><br> <property name="eclipsepath" value="."/><br>
<!-- Uncomment this for Eclipse Runner --><br> <!-- <property name="eclipsepath" value="../../../"/> --> <br> <path id="cheese.classpath"><br> <pathelement location="${eclipsepath}/build/Beans.jar"/><br>
</path> <br> <br> <target name="beans" ><br> <tstamp/><br> <br> <echo message="CREATING Beans JAR..."/><br> <jar<br> jarfile="./build/Beans.jar"><br>
<br> <fileset<br> dir="./bin"/><br> </jar><br> <br> </target><br> <br> <path><br> <pathelement></pathelement><br> </path><br>
<path id="drools.classpath"><br> <fileset dir="${eclipsepath}/build/lib/"><br> <include name="*.jar"/><br> </fileset> <br> <pathelement location="target"/><br>
</path> <br> <br> <taskdef name="compiler" classname="org.drools.contrib.DroolsCompilerAntTask" classpathref="drools.classpath" /><br> <br> <target name="rules" ><br>
<compiler <br> srcdir="${eclipsepath}/src/main/rules" <br> tofile="${eclipsepath}/target/cheese.pkg"<br> classpathref="cheese.classpath"<br>
binformat="package" > <br> <include name="*.drl" /><br> <!-- <include name="*.brl" /><br> <include name="*.xml" /><br>
<include name="*.dslr" /> --> <br> </compiler><br> </target><br> <br><br></project><br><br>reference <a href="http://www.nabble.com/Ant-compiler-task--td15906277.html#a15907448">http://www.nabble.com/Ant-compiler-task--td15906277.html#a15907448</a><br>
<br><br>Regards,<br>Ravi T<br>