This content has been marked as final.
Show 1 reply
-
1. Re: DeployProcessTask in 3.2.1
holly77 Jan 15, 2008 11:11 AM (in response to holly77)It finally works now with additionally adding the folder with my hibernate.cfg.xml to my classpath.
<target name="deploy.par" depends="create.par"> <taskdef name="deploypar" classname="org.jbpm.ant.DeployProcessTask"> <classpath refid="compile.classpath" /> <classpath refid="hibernate"/> <classpath path="./lib/commons-collections-3.2.jar" /> <classpath> <pathelement path="jpdl/deployment" /> </classpath> <classpath path="${jboss.root.dir}/server/default/lib/cglib.jar" /> <classpath path="${jboss.root.dir}/server/default/lib/antlr-2.7.6.jar" /> </taskdef> <deploypar process="jpdl/deployment/test.par" jbpmCfg="jpdl/deployment/jbpm.cfg.xml" /> </target>
Why had the DeployProcessTask to be changed?
Updating documentation and adding an example ant task would really have been nice to have, at least...