-
Notifications
You must be signed in to change notification settings - Fork 443
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
#415 custom mainclass for Windows #442
Conversation
Hi @tartakynov, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement: |
@tartakynov ping here when you signed the CLA :) |
@muuki88 I've signed the CLA |
thanks. bat this pull-request occurd error on test "windows//test-bat-template".
it mean error occurd on batch code https://github.com/tartakynov/sbt-native-packager/blob/custom-main-windows/src/main/resources/com/typesafe/sbt/packager/archetypes/bat-template#L117
"%1" was expanded on pre-process time before parse time.and if %1 has double-quote, cmd.exe throw parse-error. ( i think, this cmd process is bad design... ) maybe it
"_TEST_PARAM" has %1. please check 'delayed expansion' keyword in windows batch ( delayed expansion is expend environment value after parse time ). |
Ok, I've ran "scripted/test-custom-main" on my Windows 8.1 machine and it went well. Will commit the fix asap |
Thanks your fix. I've ran "scripted windows/*" on my windows-7 machine and all test success. LGTM. i think that window batch template need feature #184 `--' to stop parsing options, but it will be another pull request . |
Can confirm that the tests pass on my windows 7 also. |
#415 custom mainclass for Windows
Awesome, thanks a lot for your support! |
This PR adds an option to set a custom main class on Windows