james_
12-17-2007, 10:28 AM
I have some code from a jar file that uses ClassLoader.getSystemResource("File.properties"). How can I set this system variable in a 'good' way? Or, to phrase it a little differently, does anyone know how to do this without editing my classpath and having an absolute reference to the file? This is a pretty big project with many people working on it, so it's not very practical to have everyone working with separate configuration instances.
I did find this link, but couldn't quite figure out how to use it correctly (http://eclim.sourceforge.net/vim/java/classpath.html). It's not very helpful when there's obvious typos in the example!
Thanks for any help!
I did find this link, but couldn't quite figure out how to use it correctly (http://eclim.sourceforge.net/vim/java/classpath.html). It's not very helpful when there's obvious typos in the example!
Thanks for any help!