more me to read.

This commit is contained in:
Paul Phillips 2011-08-14 11:17:28 -07:00
parent b479a586d5
commit 7c65e39d28
1 changed files with 35 additions and 1 deletions

View File

@ -5,7 +5,41 @@ An alternative script for running [sbt 0.10](https://github.com/harrah/xsbt).
There's also a template project sbt coming together, but it's unfinished.
However the runner is quite useful already.
./sbt -help
Here's a sample first run, which uses a shared boot directory and a local scala.
% ./sbt -shared /tmp/bippy -local /scala/inst/3 run
Downloading sbt launcher, this should only take a moment...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 915k 100 915k 0 0 339k 0 0:00:02 0:00:02 --:--:-- 354k
[info] Set current project to project-name-here (in build file:/repo/sbt-template/)
[info] Running template.Main
Skeleton main, reporting for duty on version 2.10.0.r25487-b20110811131227
[success] Total time: 0 s, completed Aug 14, 2011 11:12:58 AM
Adding -debug to the same command line reveals the command line arguments:
% ./sbt -shared /tmp/bippy -local /scala/inst/3 run
# Executing command line:
java
-Xss2m
-Xms256M
-Xmx1536M
-XX:MaxPermSize=256M
-XX:+CMSClassUnloadingEnabled
-XX:MaxPermSize=512m
-Xmx2g
-Xss2m
-Dsbt.boot.directory=/tmp/bippy
-jar
/repo/sbt-template/lib/sbt-launch.jar
"set logLevel := Level.Debug"
"set scalaHome := Some(file("/scala/inst/3"))"
run
Current -help output:
% ./sbt -help
Usage: sbt [options]