How to use an application.yml file from another folder

Hi,

I would like to know if it’s possible to use an application.yml file from outside the folder which contan the .jar file.

for example in this case :
/folder/A/shinyproxy.jar
/folder/B/application.yml

maybe something like this ?

java -jar /folder/A/shinyproxy.jar -xx /folder/B/application.yml

Regards

Hi,

It is possible. The application.yml file needs to be in the current working directory, i.e. in your example if you first do cd /folder/B, then you can just run java -jar /folder/A/shinyproxy.jar

2 Likes

Can’t symbolic link do the trick?