-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
How to provide main argument #301
Comments
The only option you have is to use Additional JVM options at runtime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear,
I have a jar which can be launch like this following command:
java -jar server.jar -conf c:\conf\default.json
And I try to make an executable with this following maven plugin:
Can you help me for provide the -conf and the value to the main class but byt providing it to the exe command ?
Because I don't need a static value, when I launch for example:
I need to make --> server.exe -conf conf\default.json
and that realise a argument providing like that:
java -jar server.jar -conf c:\conf\default.json
because I want the conf value path can change
Thank for helping
Adrien
The text was updated successfully, but these errors were encountered: