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
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913874#3913874
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913874
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user