Pass this parameter to the jvm:
-DPropertyManager.file=/path/to/props.properties
Then in the program:
import junitx.util.PropertyManager; // from http://sourceforge.net/projects/junit-addons/ ?
PropertyManager.getProperty("my.key");
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.
Jump to
Showing posts with label properties. Show all posts
Showing posts with label properties. Show all posts
Subscribe to:
Posts (Atom)