If you want to deploy your project you can use the GPD.
If you saw the value is "-1", its mean you have an error in deploy, it may your code is wrong, .....
You cant see your error in the cmd window or log file.
And i think when you save only, nothing is occur.
I'm not Mon.
i see the 3.2 example in jbpm3.0 user guide. why it only use saveDefinition without deploy using ant or ProcessArchiveDeployer
3.2. Database exampleyou want to say ??
This is a example only, and it a testCase only. This exam is ok, no error when you run it (in my computer).
If you want to deploy your project, you must start your jBPM Server and then deploy it into your sv.
After that you open(exam: http://localhost:8080/jbpm/) jbpm page, you can see your project here.
I'm not Mon.
if you use the getGraphSession().saveProcessDefinition(pWorkflowDefinition) function to save a ProcessDefinition. You will find that all data will be overriden if there is workflow with the same name exist.
If you use the deploy function, it will set a version number for the workflow. The version number will be increased by one if you deploy the process definition with the same name.
thank you very much aymanson. you means that it only matter data overriding. i have a very very strange thing. why i always get "couldn't signal token : token has ended" error. can you give me a hand please. thanks you very much once more. my msn is email@example.com.