[jboss-dev-forums] [JBoss AS 7 Development] - Single Installation Patching
Brian Stansberry
do-not-reply at jboss.com
Fri Nov 16 12:42:41 EST 2012
Brian Stansberry [https://community.jboss.org/people/brian.stansberry] commented on the document
"Single Installation Patching"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-47500#comment-11149
--------------------------------------------------
At FibosubsystemAdd, line 74, you wouldn't be able to use contentItem.get(URL).set(urlString);
Instead, you need to convert the URL into a filesystem path (which hopefully will work) and then do:
contentItem.get(PATH).set(filesystemPath);
contentItem.get(ARCHIVE).set(false);
I haven't tried this.
The bigger problem is the fact that you are going to be writing to the module. That means when we patch the module and we attempt to detect if the user has modified the module so we can require that we approve the override, we're going to see that the module doesn't have the same hash as the original one did when we prepared the patch.
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121116/4dfaaf9b/attachment.html
More information about the jboss-dev-forums
mailing list