From 7c65e39d281298484f6ca5ffaf85ae703cafb3d3 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 14 Aug 2011 11:17:28 -0700 Subject: [PATCH] more me to read. --- README.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bd80ed9db..49385c435 100644 --- a/README.md +++ b/README.md @@ -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]