Add LauncherJarPlugin option to avoid long APP_CLASSPATH line. (#80)

In Windows, when running server.bat the following error message is seen: The input line is too long.
The syntax of the command is incorrect.

This error occurs because Windows has limit of around 8000 chars in one line. bin/server.bat has more long line for APP_CLASSPATH. This PR avoids APP_CLASSPATH problem by add LauncherJarPlugin option to sbt PlayScala plugin.
This commit is contained in:
Yuusuke KOUNOIKE 2017-06-26 23:38:47 +09:00 committed by David Russell
parent e823b278b9
commit acca8a875c

View File

@ -2,7 +2,7 @@ name := """server"""
version := "1.1"
organization := "com.gitpitch"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
lazy val root = (project in file(".")).enablePlugins(PlayJava, LauncherJarPlugin)
scalaVersion := "2.11.11"