Permalink
Browse files

provide an option to override sbt.ivy.home

  • Loading branch information...
1 parent b564707 commit c569cd3807a99d461d383d54c61fdc5989ed047c @nraychaudhuri nraychaudhuri committed Feb 26, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 framework/build
  2. +1 −1 framework/sbt/play.boot.properties
  3. +1 −1 framework/sbt/sbt.boot.properties
  4. +1 −1 play
View
@@ -8,4 +8,4 @@ else
DEBUG_PARAM="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=${JPDA_PORT}"
fi
-java ${DEBUG_PARAM} -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M ${JAVA_OPTS} -Dfile.encoding=UTF-8 -Dplay.version="${PLAY_VERSION}" -Dsbt.ivy.home=`dirname $0`/../repository -Dplay.home=`dirname $0` -Dsbt.boot.properties=`dirname $0`/sbt/sbt.boot.properties -jar `dirname $0`/sbt/sbt-launch.jar "$@"
+java ${DEBUG_PARAM} -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M ${JAVA_OPTS} -Dfile.encoding=UTF-8 -Dplay.version="${PLAY_VERSION}" -Dplay.home=`dirname $0` -Dsbt.boot.properties=`dirname $0`/sbt/sbt.boot.properties -jar `dirname $0`/sbt/sbt-launch.jar "$@"
@@ -18,5 +18,5 @@
directory: ${play.home}/sbt/boot
[ivy]
- ivy-home: ${play.home}/../repository
+ ivy-home: ${sbt.ivy.home-${play.home}/../repository}
@@ -19,4 +19,4 @@
directory: ${play.home}/sbt/boot
[ivy]
- ivy-home: ${play.home}/../repository
+ ivy-home: ${sbt.ivy.home-${play.home}/../repository}
View
@@ -61,5 +61,5 @@ if [ -f conf/application.conf -o -f conf/reference.conf ] || [ -d project ]; the
fi
else
- "$JAVA" -Dsbt.ivy.home=$dir/repository -Dplay.home=$dir/framework -Dsbt.boot.properties=$dir/framework/sbt/play.boot.properties -jar $dir/framework/sbt/sbt-launch.jar "$@"
+ "$JAVA" -Dplay.home=$dir/framework -Dsbt.boot.properties=$dir/framework/sbt/play.boot.properties -jar $dir/framework/sbt/sbt-launch.jar "$@"
fi

0 comments on commit c569cd3

Please sign in to comment.