This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: JavaArchive to VirtualFileaslak Jun 24, 2010 8:49 AM (in response to thomas.diesler)There is a VFS FileSystem extension to ShrinkWrap. It lets you mount a Archive backed FileSystem. If that helps. http://anonsvn.jboss.org/repos/common/shrinkwrap/trunk/extension-vfs3/ 
- 
        2. Re: JavaArchive to VirtualFilealrubinger Jun 25, 2010 6:14 PM (in response to thomas.diesler)Specifically, have a look at http://anonsvn.jboss.org/repos/common/shrinkwrap/trunk/extension-vfs3/src/test/java/org/jboss/shrinkwrap/vfs3/ArchiveFileSystemUnitTestCase.java: // Back VFS by a temp directory final TempDir tempDir = tempFileProvider.createTempDir(archive.getName()); VirtualFile virtualFile = VFS.getChild(UUID.randomUUID().toString()).getChild(archive.getName()); vfsHandles.add(VFS.mount(virtualFile, new ArchiveFileSystem(archive, tempDir))); return virtualFile; ...remember to unmount when done. S, ALR 
 
     
    