[jboss-user] [JBoss Microcontainer Development] New message: "VFS3 and symlinks"

Ales Justin do-not-reply at jboss.com
Thu Feb 25 10:08:51 EST 2010


User development,

A new message was posted in the thread "VFS3 and symlinks":

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

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

Message:
--------------------------------------------------------------
Me:> Symlinks also don't work with VFS3 -- see added SymlinkTestCase test.
JohnB:
> I think the problem here is how the mounting is happening.  Your test is mounting the EARs/JARs using the canonical path.  So they are showing up in the VFS with the full non-symlinked path.  Then when you test the URL you are providing the path with a symlink.  It won't work is this mixed style as they are separate paths in the VFS.  If you mount the EAR given the symlinked path, the test works fine as the path is used in the VFS and you can then continue to use the symlinked path from then on.
> 
> The question is....  Do we want to support the notion that they are always the same?   I don't think so.  I think if you provide the canonical path at mount time, that is what is mounted.  If you provide the path with a symlink, that is what is mounted.  Otherwise we would have to force it to the canonical path every time, or create mount the same filesystem at multiple mount points.
> 
> Thoughts?

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

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




More information about the jboss-user mailing list