You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding enablePlugins(AshScriptPlugin) to build.sbt and running sbt stage a startup script is generated and it supports passing JAVA_OPTS when running app from command line: sh app/target/universal/stage/bin/appName -Dconfig.resource=/myconfig.conf
Actual behaviour
After adding enablePlugins(AshScriptPlugin) to build.sbt and running sbt stage a startup script is generated. Startup shell script is missing process_args () command which is in JavaAppPackaging and as a result when running appliction with: sh app/target/universal/stage/bin/appName -Dconfig.resource=/myconfig.conf-Dconfig.resource is not passed to addJava command.
Information
sbt-native-packager version: 1.4.0
sbt version: 1.2.8
Build system: MacOS Mojave 10.14
Target system: CentOS 7
Overriding ash-template and adding process_args() and then calling it before java_cmd solves the issue.
The text was updated successfully, but these errors were encountered:
Expected behaviour
After adding enablePlugins(AshScriptPlugin) to build.sbt and running
sbt stage
a startup script is generated and it supports passing JAVA_OPTS when running app from command line:sh app/target/universal/stage/bin/appName -Dconfig.resource=/myconfig.conf
Actual behaviour
After adding enablePlugins(AshScriptPlugin) to build.sbt and running
sbt stage
a startup script is generated. Startup shell script is missingprocess_args ()
command which is in JavaAppPackaging and as a result when running appliction with:sh app/target/universal/stage/bin/appName -Dconfig.resource=/myconfig.conf
-Dconfig.resource
is not passed toaddJava
command.Information
Overriding ash-template and adding process_args() and then calling it before
java_cmd
solves the issue.The text was updated successfully, but these errors were encountered: