We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is to mimic sbt/sbt-launcher-package#166 Without the fix the following yields Invalid initial heap size: -Xms512M
Invalid initial heap size: -Xms512M
javaOptions in Universal ++= Seq( "-J-Xms512M", "-J-Xmx2G", "-J-server" )
Do not throw exception
Invalid initial heap size: -Xms512M Error: Could not create the Java Virtual Machine Error: A fatal exception has occurred. Program will exit.
https://github.com/sbt/sbt-native-packager/blob/master/src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/bash-template#L266 should be
cat "$1" | sed '/^\#/d;s/\r$//'
The text was updated successfully, but these errors were encountered:
Thanks a lot for your detailed bug report :) Sorry for replying so late.
Would you like to provide this fix as a pull request?
Sorry, something went wrong.
Remove carriage return characters when loading configuration files.
ee262e0
Fixes sbt#1074
Remove carriage return characters when loading configuration files. (#…
b767a2d
…1078) * Remove carriage return characters when loading configuration files. Fixes #1074 * Also fix ash-template
No branches or pull requests
This is to mimic sbt/sbt-launcher-package#166 Without the fix the following yields
Invalid initial heap size: -Xms512M
Expected behaviour
Do not throw exception
Actual behaviour
Information
https://github.com/sbt/sbt-native-packager/blob/master/src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/bash-template#L266 should be
cat "$1" | sed '/^\#/d;s/\r$//'
The text was updated successfully, but these errors were encountered: