[jboss-user] [JBoss jBPM] - Re: Deploy Processdefinition via Ant

boercher do-not-reply at jboss.com
Sun Apr 12 20:49:39 EDT 2009


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



More information about the jboss-user mailing list