I have created an build.xml that runs correct. At least I got an *BUILD SUCCESSFUL*.
The problem first was that the class org.jbpm.ant.DeployParTask doesn't exist in jbpm-3.1.2. It's now called DeployProcessTask. And the deploy parameter par now is called process. Thanks to the User Guide I wasted 3 hours to find this problem.
After that the build still wasn't succesful. I got a *BUILD FAILED* because the jbpm tables were not found (i guess). So I put the following additional property to my hibernate.cfg.xml file.
Now the build runs. I get this *BUILD SUCCESSFUL* message.
But the process definition is still not deployed!! I have checked the PUBLIC.JBPM_PROCESSDEFINITION table with the HSQL Database Manager but there is still only the websale process deployed.
Does anybody has an idea what to do? I thought it must be easier to do this deployment.
The process gets deployed, probably...
as 'create-drop' drops the built schema again when closing the connection to the DB.
See the Hibernate docs for this.
I'll create a JIRA Entry for the buggy, missleading Userguide due to the ant task, as well.
I had the same problem...