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...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120147#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...