This content has been marked as final.
Show 3 replies
-
1. Re: ProcessArchiveDeployerTask
guy.walker Dec 14, 2005 10:09 AM (in response to nassim)I think it might be in org.jbpm.jpdl.par, the class is called ProcessArchiveDeployer
Guy -
2. Re: ProcessArchiveDeployerTask
heismann Dec 20, 2005 5:57 PM (in response to nassim)"guy.walker" wrote:
I think it might be in org.jbpm.jpdl.par, the class is called ProcessArchiveDeployer
I don't think so. ProcessArchiveDeployer is not extending an Ant taskdef.
I'm inclined to believe that the org.jbpm.ant.DeployParTask is what we're looking for./** * ant task for deploying process archives. */ public class DeployParTask extends MatchingTask {...}
-
3. Re: ProcessArchiveDeployerTask
heismann Dec 21, 2005 4:38 PM (in response to nassim)I was able to deploy a par using the DeployParTask. Here is a snippet from my ant script.
<target name="deployAllParFiles" depends="createParFiles"> <path id="classpath"> <dirset dir="${JBPM_DEPLOY_PARS_TMP_DIR}" /> <fileset dir="${JBPM_DEPLOY_PARS_TMP_DIR}" includes="*.jar" /> </path> <property name="printableclasspath" refid="classpath" classpath="classpath"/> <echo message="Using a classpath of=${printableclasspath}" /> <taskdef name="deploypar" classname="org.jbpm.ant.DeployParTask" classpathref="classpath"/> <deploypar properties="${JBPM_DEPLOY_PARS_TMP_DIR}/${JBPM_PROPS_FILE_NAME}" > <fileset dir="jbpm" includes="*.par" /> </deploypar> </target>
The contents of the classpath are as follows:
C:\dev\workspaces\WFMS\tmp\deployPars
C:\dev\workspaces\WFMS\tmp\deployPars\jbpm.properties
C:\dev\workspaces\WFMS\tmp\deployPars\hibernate.cfg.xml
C:\dev\workspaces\WFMS\tmp\deployPars\createdPars
C:\dev\workspaces\WFMS\tmp\deployPars\antlr-2.7.5H3.jar
C:\dev\workspaces\WFMS\tmp\deployPars\asm.jar
C:\dev\workspaces\WFMS\tmp\deployPars\cglib-2.1.jar
C:\dev\workspaces\WFMS\tmp\deployPars\commons-collections-2.1.1.jar
C:\dev\workspaces\WFMS\tmp\deployPars\commons-logging.jar
C:\dev\workspaces\WFMS\tmp\deployPars\dom4j-1.6.jar
C:\dev\workspaces\WFMS\tmp\deployPars\ehcache-1.1.jar
C:\dev\workspaces\WFMS\tmp\deployPars\hibernate3.jar
C:\dev\workspaces\WFMS\tmp\deployPars\jbpm-3.0.2.jar
C:\dev\workspaces\WFMS\tmp\deployPars\jbpm-identity-3.0.2.jar
C:\dev\workspaces\WFMS\tmp\deployPars\ojdbc14.jar
jbpm.properties# # this file overwrites the defaults as specified in JbpmConfiguration # for the default values, see org.jbpm.JbpmConfiguration # jbpm.log.package.org.jbpm=warn jbpm.log.package.org.jbpm.persistence.hibernate=warn hibernate.dialect=org.hibernate.dialect.Oracle9Dialect hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver hibernate.connection.url=jdbc:oracle:thin:@DATABASE_MACHINE1521:DATABASE_INSTANCE hibernate.connection.username=USER hibernate.connection.password=USER_PW hibernate.show_sql=true hibernate.query.substitutions=true 1, false 0