View RSS Feed

jBPM

Deploying a Process Archive

Rate this Entry
by , 04-27-2012 at 05:48 PM (830 Views)
One can deploy a process archive in any of three different ways:
via the Process Designer Tool
with an ant task
programatically
To deploying a process archive with the Process Designer Tool, follow this step. (This process is supported in the starter's kit.)

1. Right-click on the process archive folder and select the Deploy process archive option.
The starter's kit server contains the JBPM application, which has a servlet to upload process archives, called ProcessUploadServlet. This servlet is capable of uploading process archives and deploying them to the default JBPM instance.

To deploy a process archive with an ant task, use this code:

XML Code:
<target name="deploy-process">
  <taskdef name="deployproc" classname="org.jbpm.ant.DeployProcessTask">
    <classpath location="jbpm-jpdl.jar" />
  </taskdef> 
  <deployproc process="build/myprocess.par" />
</target>

Submit "Deploying a Process Archive" to Facebook Submit "Deploying a Process Archive" to Digg Submit "Deploying a Process Archive" to del.icio.us Submit "Deploying a Process Archive" to StumbleUpon Submit "Deploying a Process Archive" to Google

Categories
jBPM Process

Comments