rapa [
http://community.jboss.org/people/rapa] created the discussion
"Re: jBPM 4 - Deploy only if ProcessDefinition changed or new"
To view the discussion, visit:
http://community.jboss.org/message/570459#570459
--------------------------------------------------------------
Auch :(
so if I get you right the map could contain something like this:
{
process.jpdl.xml :: byte[] xmlContent
process.jpdl.jpg :: byte[] jpgContent
}
and the following code is not ok anymore..
resourceName = deployment.getResourceNames().iterator().next();
And I guess I should check if the resource name extension is "xml"?
for(String currentResName : deployment.getResourceNames()) {
if(currentResName.endsWith(".xml")) {
resourceName = currentResName;
break;
}
}
for(String currentResName : deployment.getResourceNames()) {
if(currentResName.endsWith(".xml")) {
resourceName = currentResName;
break;
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/570459#570459]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]