--- a/bin/rwsbt.sh Sat Nov 12 08:27:27 2011 -0500
+++ b/bin/rwsbt.sh Thu Nov 17 14:28:54 2011 +0100
@@ -1,6 +1,7 @@
#!/bin/bash
-KS=src/test/resources/KEYSTORE.jks
+export BASE=`dirname $0`/..
+KS=$BASE/src/test/resources/KEYSTORE.jks
while [ $# -gt 0 ]
do
case $1 in
@@ -22,6 +23,5 @@
shift 1
done
-
export SBT_PROPS=$PROPS
-xsbt
+$BASE/sbt
--- a/sbt Sat Nov 12 08:27:27 2011 -0500
+++ b/sbt Thu Nov 17 14:28:54 2011 +0100
@@ -38,5 +38,5 @@
fi
# tweak this line according to your needs
-java -Xmx512M -jar -Dfile.encoding=UTF8 -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m "$dir/$sbt" "$@"
+java $SBT_PROPS -Xmx512M -jar -Dfile.encoding=UTF8 -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m "$dir/$sbt" "$@"