Alban Peignier wrote:
So it is possible to add "junctions" like in my example with your implementation?On Wed, 2005-11-16 at 20:43 +0100, Mario Ivankovits wrote:You should be able to do something like this:final FileSystem fs = VFS.getManager().createVirtualFileSystem("vfs://").getFileSystem();fs.addJunction("/myroot", VFS.getManager().resolveFile("/")); fs.addJunction("/myhome", VFS.getManager().resolveFile("/home/im")); though, its not fully working yet.Yes :) I created a "virtual://" filesystem provider which uses this feature, configured by a properties file (used in http://wiki.tryphon.org/How_to_track_resources_with_Commons_VFS).
If yes, are you willing to donate it? Maybe it can replace ours.If possible make it configureable where it takes the properties file using FileSystemOptions. If you havent already done so ;-)
Thanks! Mario
smime.p7s
Description: S/MIME Cryptographic Signature