Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (18 sloc) 1.042 kb
50947c5 @indrajitr - Update SBT for new project layout
indrajitr authored
1 @echo off
2
51fd39b @farmdawgnation Bump sbt to version 0.13.5.
farmdawgnation authored
3 set SBT_LAUNCHER_PATH="project\sbt-launch-0.13.5.jar"
4 set SBT_LAUNCHER_SOURCE="http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.5/sbt-launch.jar"
289107f @farmdawgnation Liftsh is now smart enough to download the sbt launcher for you.
farmdawgnation authored
5
6 if not exist %SBT_LAUNCHER_PATH% powershell -Command "(New-Object Net.WebClient).DownloadFile('%SBT_LAUNCHER_SOURCE%', '%SBT_LAUNCHER_PATH%')"
7
f917c8e @indrajitr Split liftsh options, modifying LIFTSH_OPTS is safer now. You can now do...
indrajitr authored
8 @REM Internal options, always specified
b503a58 @taylorleese None should result in JNothing rather than JNull to optimize the rendere...
taylorleese authored
9 set INTERNAL_OPTS=-Dfile.encoding=UTF-8 -Xmx768m -noverify -XX:ReservedCodeCacheSize=256m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512m
f917c8e @indrajitr Split liftsh options, modifying LIFTSH_OPTS is safer now. You can now do...
indrajitr authored
10
5275c48 @indrajitr use `-XX:+UseCompressedOops` for 64 bit jvm
indrajitr authored
11 @REM Add 64bit specific option
12 java -version 2>&1 | find "64-Bit" >nul:
13 if not errorlevel 1 (
d07d091 @indrajitr bump up `ReservedCodeCacheSize` for 64bit jvm
indrajitr authored
14 set INTERNAL_OPTS=%INTERNAL_OPTS% -XX:+UseCompressedOops -XX:ReservedCodeCacheSize=128m
5275c48 @indrajitr use `-XX:+UseCompressedOops` for 64 bit jvm
indrajitr authored
15 )
16
f917c8e @indrajitr Split liftsh options, modifying LIFTSH_OPTS is safer now. You can now do...
indrajitr authored
17 @REM Default options, if nothing is specified
9e27e1c @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
18 set DEFAULT_OPTS=
50947c5 @indrajitr - Update SBT for new project layout
indrajitr authored
19
20 if "%LIFTSH_OPTS%"=="" (
b1852b9 @indrajitr Fix shell script for Windows (thanks to @kevinpeno). Closes #1083.
indrajitr authored
21 set LIFTSH_OPTS=%DEFAULT_OPTS%
50947c5 @indrajitr - Update SBT for new project layout
indrajitr authored
22 )
23
9e27e1c @indrajitr - Update to SBT 0.12.0-M1
indrajitr authored
24 @REM Call with INTERNAL_OPTS followed by LIFTSH_OPTS (or DEFAULT_OPTS). java always takes the last option when duplicate.
289107f @farmdawgnation Liftsh is now smart enough to download the sbt launcher for you.
farmdawgnation authored
25 java %INTERNAL_OPTS% %LIFTSH_OPTS% -jar "%~dp0\%SBT_LAUNCHER_PATH%" %*
Something went wrong with that request. Please try again.