Browse files

aoeu

  • Loading branch information...
1 parent ce873b9 commit 922e76926669398fa8be465da7f2a0a2a66ba112 Marko Elezovic committed Mar 5, 2013
View
4 continuous-compilation.bat
@@ -0,0 +1,4 @@
+@echo off
+
+echo Entering continuous compilation loop ...
+call "%~dp0sbt.bat" --loop --no-jrebel %* ~compile
View
4 continuous-compilation.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+echo Entering continuous compilation loop ...
+`dirname $0`/sbt.sh --loop --no-jrebel "$@" ~compile
View
4 open-console.bat
@@ -0,0 +1,4 @@
+@echo off
+
+echo Firing up the Scala REPL ...
+call "%~dp0sbt.bat" %* console
View
4 open-console.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+echo Firing up the Scala REPL ...
+`dirname $0`/sbt.sh "$@" console
View
2 prepare-workspace.bat
@@ -2,4 +2,4 @@
echo Performing dependency update for all projects ...
echo Will also create Eclipse .project and .classpath files ...
-call "%~dp0\sbt.bat" --no-jrebel %* update eclipse
+call "%~dp0sbt.bat" --no-jrebel %* update eclipse
View
1 project/build.properties
@@ -0,0 +1 @@
+sbt.version=0.12.2
View
31 project/plugins.sbt
@@ -1,11 +1,26 @@
+resolvers := Seq(
+ "Element Nexus" at "http://repo.element.hr/nexus/content/groups/public/"
+, Resolver.url("Element Nexus (Ivy)",
+ url("http://repo.element.hr/nexus/content/groups/public/"))(Resolver.ivyStylePatterns)
+)
+
+externalResolvers <<= resolvers map { r =>
+ Resolver.withDefaultResolvers(r, mavenCentral = false)
+}
+
+// +------------------------------------------------------------------------------------+
+// | SBT Eclipse (https://github.com/typesafehub/sbteclipse) |
+// | Creates .project and .classpath files for easy Eclipse project imports |
+// | |
+// | See also: Eclipse downloads (http://www.eclipse.org/downloads/) |
+// | See also: Scala IDE downloads (http://download.scala-ide.org/) |
+// +------------------------------------------------------------------------------------+
+
+addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.1")
+
// +-------------------------------------------------------------------------------------+
-// | SBT Eclipse (https://github.com/typesafehub/sbteclipse) |
-// | Creates .project and .classpath files for easy Eclipse project imports |
-// | |
-// | See also: Eclipse downloads (http://www.eclipse.org/downloads/) |
-// | See also: Scala IDE downloads (http://download.scala-ide.org/) |
+// | Dependency graph SBT plugin (https://github.com/jrudolph/sbt-dependency-graph) |
+// | Lists all library dependencies in a nicely formatted way for easy inspection. |
// +-------------------------------------------------------------------------------------+
-resolvers += Classpaths.typesafeResolver
-
-addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.0-RC1")
+addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.0")
View
BIN project/strap/gruj_vs_sbt-launch-0.11.3.jar
Binary file not shown.
View
BIN project/strap/gruj_vs_sbt-launch-0.12.2.jar
Binary file not shown.
View
27 project/strap/sbt.boot.properties
@@ -0,0 +1,27 @@
+[scala]
+ version: ${sbt.scala.version-auto}
+
+[app]
+ org: ${sbt.organization-org.scala-sbt}
+ name: sbt
+ version: ${sbt.version-read(sbt.version)[0.12.2]}
+ class: ${sbt.main.class-sbt.xMain}
+ components: xsbti,extra
+ cross-versioned: ${sbt.cross.versioned-false}
+
+[repositories]
+ local
+ element-repo-maven: http://repo.element.hr/nexus/content/groups/public/
+ element-repo-ivy: http://repo.element.hr/nexus/content/groups/public/, [organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]
+
+[boot]
+ directory: ../../.sbt/doit-csv
+
+[ivy]
+ ivy-home: ../../.ivy2/doit-csv
+ checksums: ${sbt.checksums-sha1,md5}
+ override-build-repos: ${sbt.override.build.repos-false}
+ repository-config: ${sbt.repository.config-${sbt.global.base-${user.home}/.sbt}/repositories}
+
+[log]
+ level: info
View
4 sbt.bat
@@ -3,7 +3,7 @@ setlocal
pushd
cd "%~dp0"
-set JVM_PARAMS=-Xss2m -Xmx1g -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled
+set JVM_PARAMS=-Xss2m -Xmx712m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled
set LIFT_RUN_MODE=-Drun.mode=development
set TRY_JREBEL=true
@@ -57,7 +57,7 @@ if %TRY_JREBEL%.==true. (
if exist "%JREBEL_HOME%\jrebel.jar" set JVM_PARAMS=%JVM_PARAMS% -noverify -javaagent:"%JREBEL_HOME%\jrebel.jar" %JREBEL_PLUGINS%
)
-set GRUJ_PATH=project\strap\gruj_vs_sbt-launch-0.11.3.jar
+set GRUJ_PATH=project\strap\gruj_vs_sbt-launch-0.12.2.jar
set RUN_CMD=java %JVM_PARAMS% -jar %GRUJ_PATH% %LOG_LEVEL% %SBT_PARAMS%
:RUN_LOOP
View
4 sbt.sh
@@ -2,7 +2,7 @@
cd `dirname $0`
## START JVM PARAMS
-JVM_PARAMS="-Xss2m -Xmx1g -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled"
+JVM_PARAMS="-Xss2m -Xmx712m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled"
LIFT_RUN_MODE="-Drun.mode=development"
TRY_JREBEL=true
@@ -51,7 +51,7 @@ if $TRY_JREBEL && [ -n "$JREBEL_HOME" ] && [ -f $JREBEL_HOME/jrebel.jar ]; then
JVM_PARAMS="$JVM_PARAMS -noverify -javaagent:$JREBEL_HOME/jrebel.jar $JREBEL_PLUGINS"
fi
-GRUJ_PATH="project/strap/gruj_vs_sbt-launch-0.11.3.jar"
+GRUJ_PATH="project/strap/gruj_vs_sbt-launch-0.12.2.jar"
RUN_CMD="java $JVM_PARAMS -jar $GRUJ_PATH $LOG_LEVEL $SBT_PARAMS"
LOOPING=true

0 comments on commit 922e769

Please sign in to comment.