Jonas Lundberg wrote: > Am I doing something wrong, or does the directory generator not > support network drives?
In normal java you'ld be able to access the network drive using (tested from windows to an SMB share) File f = new File("\\\\myserver\\mydir"); or even File f = new File(new URI("file:////myserver/mydir")); The directory generator (or more precisely the SourceResolverImpl) resolves both src="\\myserver\mydir" and src="\\\\myserver\\mydir" to local path $WEBAPP_ROOT/myserver/mydir whereas src="file:////myserver/mydir" is resolved to file://myserver/mydir This is IMO wrong or at least counter intuitive behaviour given how it works in plain java. You might try and write your own SourceFactory and register a custom smb: protocol to get around this, or as Tony suggested just map it to a network drive and access it local (AKA "The Easy Way Out" :) HTH Jorg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]