Hi,

here are the relevant targets from my ant file:

<target name="par" depends="compile">
  |     <zip destfile="${parfile}" filesonly="true">
  |         <zipfileset dir="${bindir}" includes="**/*.class" prefix="classes" 
/>
  |         <zipfileset dir="${srcdir}" includes="**/${processdir}/gpd.xml" 
fullpath="gpd.xml" />
  |         <zipfileset dir="${srcdir}" 
includes="**/${processdir}/processdefinition.xml" 
fullpath="processdefinition.xml" />
  |         <zipfileset dir="${srcdir}" 
includes="**/${processdir}/processimage.jpg" fullpath="processimage.jpg" />
  |     </zip>
  | </target>
  | 
  | <target name="deploy.par" depends="par">
  |     <taskdef name="deploypar" classname="org.jbpm.ant.DeployProcessTask">
  |         <classpath>
  |             <pathelement path="${configdir}" />
  |             <pathelement path="${bindir}" />
  |             <fileset dir="${jbpm.root}" includes="**/*.jar" />
  |             <fileset dir="${libdir}" includes="**/*.jar" />
  |         </classpath>
  |     </taskdef>
  |     <deploypar process="${parfile}" />
  | </target>

The variables:
configdir: hibernate.cfg.xml
  | bindir: compiled classes
  | jbpm.root: jbpm installation directory
  | libdir: further jar dependencies
  | 
  | 
  | Regards,
  | Volker

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225041#4225041

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225041
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to