> 
> Danny,
> 
> That bug may very well point out an alternative solution.  The key comment
> from Sun is that "The problem with file: URLs has always been the 
> meaning of
> the "host" field. In fact file URLs with a host have generally been
> translated into an ftp action to that host. Granted "localhost" was an
> exception to this procedure. But the most common usage of file: 
> urls is with
> an empty host field, eg. file:///C:/path/on/c/drive and this works fine on
> 1.4.2 (as well as previous releases)."
> 
> Our code uses:
> 
>   jarlist.add(new URL("file://" + baseDirectory +"/SAR-INF/lib/"+
> flist[i]));
> 
> changing it to use
> 
>   jarlist.add(new URL("jar:file:" + baseDirectory + "/SAR-INF/lib/" +
> flist[i] + "!/"));
> 
> works, but perhaps it would also work to simply add a third '/', e.g.,
> 
>   jarlist.add(new URL("file:///" + baseDirectory +"/SAR-INF/lib/"+
> flist[i]));
> 
> as in Sun's response to that bug.
> 
> Vincenzo, would you please try that alternative, and let us know what
> happens?

It works fine!

Vincenzo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to