io.File relative path constructor

2005-09-07 Thread Paul Wallace
Hi, A should-be easy one - I do not wish to define an absolute path to a File as it will packaged in a JAR, therefore its path will change. How do I construct a File relative to my src root, something like File file = new File(/path/myFile.xml);? I tried passing in a URL, URI but am

RE: io.File relative path constructor

2005-09-07 Thread Longson, Robert
/file.xml); Best regards Robert -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 07:51 To: Tomcat Developers List Subject: io.File relative path constructor Hi, A should-be easy one - I do not wish to define an absolute path to a File