Hello,

I’m deploying with Maven a framework (at the moment to my local repository) and
include this framework into other projects.

Within the framework I read a property file with:

final Properties l_property = new Properties();
l_property.load( 
a_class_within_my_framework.getClassLoader().getResourceAsStream( 
"configuration.properties" ) );

On the framework codes this works fine, but if I include with my framework in 
another project, it try to read the configuration.properties
from the project, not from the framework.
I have found out, that I should define the class path, but I don’t know how.
In my case the „configuration.property“ should read every time relative to the 
framework.

How I can fix this problem?

Thanks

Phil 
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to