+ sbt launcher
authorAlexandre Bertails <bertails@w3.org>
Mon, 22 Aug 2011 10:32:32 -0400
changeset 1 f6c749ea5576
parent 0 b3929c9d6d60
child 2 8d1080efed42
+ sbt launcher
.hgignore
sbt
--- a/.hgignore	Mon Aug 22 10:24:55 2011 -0400
+++ b/.hgignore	Mon Aug 22 10:32:32 2011 -0400
@@ -12,4 +12,5 @@
 *.log
 *\#
 src/main/scala.egp
-src/test/scala.egp
\ No newline at end of file
+src/test/scala.egp
+sbt-launch.jar
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbt	Mon Aug 22 10:32:32 2011 -0400
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+dir=$(dirname $0)
+cd "$dir"
+
+if [ ! -f sbt-launch.jar ]; then
+    wget http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.10.1/sbt-launch.jar
+fi
+
+java -Xmx512M -jar -Dfile.encoding=UTF8 -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m "$dir/sbt-launch.jar" "[email protected]"
+