From acca8a875c60c35142fc16457f1e369a2ca6e4d9 Mon Sep 17 00:00:00 2001 From: Yuusuke KOUNOIKE Date: Mon, 26 Jun 2017 23:38:47 +0900 Subject: [PATCH] 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. --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index a3d7b9a..aadb0a9 100644 --- a/build.sbt +++ b/build.sbt @@ -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"