Java successfully recognizes the path in my application.properties file when I have the path configured as below:
pathToInputFile=/kcs/data/incoming/ready/
pathToInputFileProcess=/kcs/data/incoming/work/
If I try using an environment variable, the Java program doesn't recognize the path.
(the environmental variable TOM_DATA is set as /kcs.)
pathToInputFile=${TOM_DATA}/data/incoming/ready/
pathToInputFileProcess=${TOM_DATA}/data/incoming/work/
Can I use an environment variable inside application.properties file?