[jboss-user] [jBPM] - Re: jBPM 4 - Deploy only if ProcessDefinition changed or new
Andrea R
do-not-reply at jboss.com
Wed Nov 10 05:47:33 EST 2010
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101110/9424ecd3/attachment.html
More information about the jboss-user
mailing list