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.
--------------------------------------------------