Hi,
I'm using JBPM 4.2 and gwt-console 1.0 (but customized). I have implemented the method updateDeployment into ProcessEnginePluginImpl in this way:
public String updateDeployment(String id, boolean versioning, String processName, String jpdl, int codabi) {
RepositoryService repoService = this.processEngine.getRepositoryService();
if (!versioning) {
repoService.updateDeploymentResource(id, "string.jpdl.xml",
new ByteArrayInputStream(jpdl.getBytes()));
return id;
} else {
return createDeployment(processName, jpdl, codabi);
}
}