I haven't checked but I think you have to remove the leading slash when the configuration file is loaded from the classpath :

<properties fileName="my.properties"/>

The file must be located at the root of the JAR in the classpath.

Emmanuel Bourg


Oliver Heger wrote:
Grant,

do you work on Windows or on Unix? Which exception do you get when you ommit the leading slash?

I supose the correct form would be just the name of the properties file with a leading slash. But there seems to be a bug, so that such names are interpreted as absolute file names and then the classpath is not searched at all. I will have a closer look on that.

Oliver

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to