On 13/11/06, Jerome Louvel <[EMAIL PROTECTED]> wrote:


 [findbugs] Running FindBugs...
 [findbugs] Exception in thread "main" java.util.zip.ZipException: Error
opening D:\Restlet\-outputFile

I may be totally wrong.

For java, I've always used root relative filenames (where url's are wanted).
If the file is on the same disk, the file:// protocol isn't needed.
Same logic, I've always used / as the separator, and it works
on both linux and windoze.

Certainly url wise, D:\ is wrong (IMHO).

I'm not keen on using the protocol with

FileHandler fh = new FileHandler("/files/servlet.log");

for logging, since "/files/servlet.log" is a good url.



HTH

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Reply via email to