[Helma-user] problems loading resources from within jars
Stefan Rinner
rist at mac.com
Mon Jan 22 10:51:41 CET 2007
Hi
I just tried to update the version of rome [1] I'm using for a
project and ran into some problems.
I'm placing my project specific jars in a special repository of my
application - this worked fine so far - but in this case I got
Exceptions when rome tried this:
private static final String MASTER_PLUGIN_FILE = "com/sun/syndication/
rome.properties"
private static final String EXTRA_PLUGIN_FILE = "rome.properties";
...
PROPERTIES_LOADER = new PropertiesLoader
(MASTER_PLUGIN_FILE,EXTRA_PLUGIN_FILE);
Then I move rome.jar from the repositry directory to the lib/ext
directory and there it worked fine - so it seems using repositories
for jars has some classpath/resource loading problems
- stefan
[1] https://rome.dev.java.net/
More information about the Helma-user
mailing list