Open stla opened 10 years ago
Hello, I have a file in main/resources and I want to include it in the jar. It is not included when running one-jar. Is there a way to include it ?
one-jar
Hi Stla, You can include it by explicitly providing through java options.
java -Dlogback.configurationFile="config.xml" -jar one-jar.jar
I had the same issue and resolved it like the above line.
Hello, I have a file in main/resources and I want to include it in the jar. It is not included when running
one-jar
. Is there a way to include it ?