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
We have a PlayFramework that I'm trying to package using sbt clean universal:package-zip-tarball. This generates a tgz file. When I unpack it and run -h it says that I can pass JAVA_HOME as the command line argument
-java-home <path> alternate JAVA_HOME
but this doesn't work:
$ /opt/IDEC-1.0-SNAPSHOT/bin/idec -java-home /usr/lib/jvm/java-7-oracle
line 201: java_cmd: readonly variable
In bash.template line 255
declare -r java_cmd=$(get_java_cmd)
and on the last line it calls run() which calls proccess_args and on line 166 java_cmdis redefined
I can see that as part of revision 69c3bd5b53b6a7a3e7ecbd4b02e5248be917d040 when the main bash script was moved from JavaAppBashScript.scala to bash.template it changed
declare java_cmd=java
to the current
declare -r java_cmd=$(get_java_cmd)
The text was updated successfully, but these errors were encountered:
Great diagnosis! Thanks for the report. If you have time to submit a quick pr, I can patch the 0.6 series. I'm a bit swamped today with holidays in the US, but I'll get to this as soon as I can.
We have a PlayFramework that I'm trying to package using
sbt clean universal:package-zip-tarball
. This generates a tgz file. When I unpack it and run-h
it says that I can pass JAVA_HOME as the command line argumentbut this doesn't work:
In bash.template line 255
and on the last line it calls run() which calls proccess_args and on line 166
java_cmd
is redefinedI can see that as part of revision
69c3bd5b53b6a7a3e7ecbd4b02e5248be917d040
when the main bash script was moved fromJavaAppBashScript.scala
tobash.template
it changedto the current
The text was updated successfully, but these errors were encountered: