Kronos_Support
14 years agoOccasional Contributor
Load global properties using a relative path
How to load project level global properties using a relative path in UI?
I would like to load global properties from an external file at the project level in UI using a relative path.. Absolute path works fine.
I am trying to use ${#Project#ProjectDir} option, but I am getting FileNotFoundException as ${#Project#projectDir}is not getting evaluated right.
I have also tried ${#Project#Resource Root}, but got same error.
java.io.FileNotFoundException: ${#Project#projectDir}\..\properties\Shifts.properties (The system cannot find the path specified)
Please let me know how to fix this?
PJ
I would like to load global properties from an external file at the project level in UI using a relative path.. Absolute path works fine.
I am trying to use ${#Project#ProjectDir} option, but I am getting FileNotFoundException as ${#Project#projectDir}is not getting evaluated right.
I have also tried ${#Project#Resource Root}, but got same error.
java.io.FileNotFoundException: ${#Project#projectDir}\..\properties\Shifts.properties (The system cannot find the path specified)
Please let me know how to fix this?
PJ