posted 8 years ago
Hello,
currently in my project i am importing an application.properties file by using @PropertySource
as i build the war the application.properties builds into the war file. (myWar.war contains the application.properties file inside)
i would like to have the application properties outside the war (next to the war in the same directory level)
can i define in @PropertySource path which is 3 folders up from the current location ? (something like @PropertySource("file:../../../application.properties") ?
Itamar.