[jboss-user] [JBoss jBPM] - Re: DeployProcessTask in 3.2.1

holly77 do-not-reply at jboss.com
Tue Jan 15 11:11:56 EST 2008


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#4120147

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120147



More information about the jboss-user mailing list