Dave, What you say is accurate but it doesn't really apply here as ANT automatically converts/generates the paths from the build script. BTW, no absolute path is hard-coded in our build.xml file.
Best regards, Jerome > -----Message d'origine----- > De : Dave Pawson [mailto:[EMAIL PROTECTED] > Envoyé : lundi 13 novembre 2006 11:56 > À : [email protected] > Objet : Re: Another npe > > 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

