[jboss-user] [Microcontainer] - Re: Autoexplosion of archives
bob.mcwhirter
do-not-reply at jboss.com
Tue Dec 2 19:56:26 EST 2008
"alesj" wrote :
| There might not be the modification type you're looking for.
| But it's easy to add what ever you want. ;-)
|
Yah, I looked at that too. Though, that requires extending the ModificationType enumeration and registering a ModificationAction. Non-trivial to try out a different ModificationAction, it would seem.
Perhaps a ModificationType.ATTACHED and go looking for a ModificationAction.class attachment if set?
"alesj" wrote :
| And I also see types behave as I expected. :-)
|
Yah, I think they all work as expected, just not a complete set from my POV. I did see some examples with an UNPACK on the root, but that seems to be non-tenable. UNPACK only works on child context-infos from the look of it. Else, the isNested() check stops it on the root without doing anything if you point it at the root deployed archive, not a nested archive.
"alesj" wrote :
| You're welcome to impl "top" == 'I effectively want is just a top-level un-jarring'.
| And I'll add it to VFS 2.0.1. ;-)
I'll poke around, but I should be able to tell the difference between foo.jar as a real directory and foo.jar as a mounted vfszip? I can still do a byte-for-byte copy of a vfszip-mounted JAR?
I'll work on an implementation.
Thanks!
-Bob
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193896#4193896
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193896
More information about the jboss-user
mailing list