Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include main/resources in the jar #26

Open
stla opened this issue May 9, 2014 · 1 comment
Open

include main/resources in the jar #26

stla opened this issue May 9, 2014 · 1 comment

Comments

@stla
Copy link

stla commented May 9, 2014

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 ?

@yadavan88
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants