I think the DroolsCompilerAntTask generates a serialized RuleBase, not a
Package.

Linh


Arnaud Bouzinac wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/create-.pkg-file-with-or-without-BRMS-tf4803289.html#a13749958
Sent from the drools - user mailing list archive at Nabble.com.

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

Reply via email to