Maurizio Trifici [
http://community.jboss.org/people/trifix81] replied to the discussion
"Update Deployment Resource"
To view the discussion, visit:
http://community.jboss.org/message/542850#542850
--------------------------------------------------------------
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);
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/542850#542850]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]