[jboss-dev-forums] [Design of POJO Server] - Re: relative class-path entry resolution
scott.stark@jboss.org
do-not-reply at jboss.com
Sun May 31 11:35:32 EDT 2009
"emuckenhuber" wrote :
| In general this also seems limited how VFS resolves files, as it can't resolve files outside it's root context.
| At the moment the bootstrap/vfs.xml is defining a permanent-root for the deploy/ directory. So resolving files outside of deploy/ would not work by default anyway.
|
I don't think it makes sense to allow resolution outside of the root context because in general this is an unknown type of VFS. For the case of a given deployment root context being a child of another VFS context, we should be able to resolve up the tree.
For the case of a server setup where the libs were on one type of VFS and the profile deploy contents on another, we can build the correct URI to pass to the VFS.getRoot(URI) or getFile(URI) call because we don't know the vfs protocol to use. There can be multiple VFS roots associated with the absolute path "/x/server/libs/test.jar" that differ only by the VFS procotol.
However, for the case where "/x/server/default/deploy" and "/x/server/libs" are both vfsfile protocol contexts, we should be able to navigate across the contexts via their comment root.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234333#4234333
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234333
More information about the jboss-dev-forums
mailing list