doortts doortts 2017-02-06
build.sbt: use YONA_OPTS for Windows OS JAVA env vars
@2b0b4fd98c98c6fa69fb676dddfed8ff7c9b3acc
build.sbt
--- build.sbt
+++ build.sbt
@@ -111,9 +111,8 @@
     |""".stripMargin
 
 NativePackagerKeys.batScriptExtraDefines += """
-    | set "YONA_OPTS=-DapplyEvolutions.default=true"
     | if "%YONA_DATA%"=="" set "YONA_DATA=%~dp0\\.."
-    | if "%JAVA_OPTS%"=="" SET JAVA_OPTS=-Duser.dir=%YONA_HOME% -Dyona.data=%YONA_DATA% -Dconfig.file=%YONA_DATA%\conf\application.conf -Dlogger.file=%YONA_DATA%\conf\application-logger.xml -DapplyEvolutions.default=true
+    | set "YONA_OPTS=-DapplyEvolutions.default=true -Duser.dir=%YONA_HOME% -Dyona.data=%YONA_DATA% -Dconfig.file=%YONA_DATA%\conf\application.conf -Dlogger.file=%YONA_DATA%\conf\application-logger.xml"
     |""".stripMargin
 
 lazy val yobi = (project in file("."))
Add a comment
List