You stated "props file packaged as" which I assume means that your poroperties
file in within a jar file. Assuming your jar file has the following contents:
org/foo/bar/Some.class
org/foo/Other.class
org/foo/sysprops.properties
then from any of the classes in this jar file, you can load the properties file by:
Properties prop = new Properties();
prop.load(this.getClass().getResourceAsStream("org.foo.sysprops"));
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995370#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...