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 getting:
Exception in thread "main" java.lang.IllegalArgumentException: URI is not hierarchical when I jar and run it. Am using Win XP + Java 1.5. Thanks Paul. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]