User development,

A new message was posted in the thread "Structure deployer cannot access 
manifest":

http://community.jboss.org/message/529914#529914

Author  : Ales Justin
Profile : http://community.jboss.org/people/alesj

Message:
--------------------------------------------------------------
> Is this a bug, perhaps related to the root not beeing mounted?
Most likely -- see HERE.
 
    public static Manifest getManifest(VirtualFile archive) throws IOException {
        if (archive == null)
            throw new IllegalArgumentException("Null archive");
        VirtualFile manifest = archive.getChild(JarFile.MANIFEST_NAME);
        if (manifest == null || !manifest.exists()) { // HERE -- 
manifest.exists() == false
            if (log.isTraceEnabled())
                log.trace("Can't find manifest for " + archive.getPathName());
            return null;
        }
        return readManifest(manifest);
    }

 
You need an explicit mount -- like explained eariler: 
http://community.jboss.org/message/529846#529846
 
It will a bit tricker here, since you wanna use your VFS abstraction.
Meaning your abstraction will have to know wheather it needs to mount or not.

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/529914#529914


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to