I'm trying to access System property variable in java properties file. I'm not in the position to use other java class.
I want to define a property for a working directory(say work.dir=/home/username/working-directory
), for my production .properties
file, without hard-coding the /home/username
. I want to reference the system property user.home in place on the hard-coded /home/username
, to make work.dir
more generic.