]
Alejandro Guizar updated JBPM-2386:
-----------------------------------
Component/s: Runtime Engine
Fix Version/s: jBPM 3.2.10
Assignee: Alejandro Guizar (was: Tom Baeyens)
Priority: Minor (was: Major)
Update description of DeployProcessTask
---------------------------------------
Key: JBPM-2386
URL:
https://jira.jboss.org/jira/browse/JBPM-2386
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.2.5.SP5
Reporter: Toshiya Kobayashi
Assignee: Alejandro Guizar
Priority: Minor
Fix For: jBPM 3.2.10
Chapter 21.1.1 of the User Guide states:
============
<target name="deploy.par">
<taskdef name="deploypar"
classname="org.jbpm.ant.DeployProcessTask">
<classpath --make sure the jbpm-[version].jar is in this classpath--/>
</taskdef>
<deploypar par="build/myprocess.par" />
</target>
To deploy more process archives at once, use the nested fileset elements. The file
attribute itself is optional. Other attributes of the ant task are:
* cfg: cfg is optional, the default value is 'hibernate.cfg.xml'. The
hibernate configuration file that contains the jdbc connection properties to the database
and the mapping files.
* properties: properties is optional and overwrites *all* hibernate properties as
found in the hibernate.cfg.xml
* createschema: if set to true, the jbpm database schema is created before the
processes get deployed.
============
http://docs.jboss.org/jbpm/v3.2/userguide/html_single/#theprocessarchive
But this description is old now. This should be:
=============
<target name="deploy.par">
<taskdef name="deploypar"
classname="org.jbpm.ant.DeployProcessTask">
<classpath --ensure jbpm-[version].jar is in this classpath--/>
</taskdef>
<deploypar process="build/myprocess.par" />
</target>
To deploy more process archives at once, use the nested fileset elements. The process
attribute itself is optional. Other attributes of the ant task are:
* jbpmcfg: Optional, the default value is jbpm.cfg.xml. The JBPM configuration file can
specify the location of Hibernate configuration file ( the default value is
hibernate.cfg.xml ) that contains the jdbc connection properties to the database and the
mapping files.
=============
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: