[jboss-dev-forums] [JBoss AS 7 Development] - Single Installation Patching

John Mazzitelli do-not-reply at jboss.com
Mon Nov 26 13:38:28 EST 2012


John Mazzitelli [https://community.jboss.org/people/mazz] commented on the document

"Single Installation Patching"

To view all comments on this document, visit: https://community.jboss.org/docs/DOC-47500#comment-11174

--------------------------------------------------
For the record, Brian's code is correct to support exploded deployments. To get the path, just use the File API: 
String urlString = new File(url.toURI()).getAbsolutePath();
contentItem.get(PATH).set(urlString);
contentItem.get(ARCHIVE).set(false);

I tested this and it worked in AS 7.1.1.Final.
--------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121126/c99089c8/attachment.html 


More information about the jboss-dev-forums mailing list