Hi,
I want to automate the deployment of the process definitions. Does anyone know how to do this with ant?
You can use the class org.jbpm.ant.DeployProcessTask for that purpose. The ant script in build.deploy.xml in the root directory of the jBPM distribution contains a good example of the use of this task in the create.db target.