In jBPM 3 this is not possible out of the box, but easy to write yourself. in jBPM 4 this possible out of the box
Would you be able to provide some more info around that on how to use it and the deployment process if you will?
Appreciate you getting back on this.
For jBPM4 look at the ant task for deploying the demos.