Skip to content
Browse files

Add malabarsh for development.

  • Loading branch information...
1 parent 19b02c3 commit 0d7cc0e44e01c36a860e49585254d526383c1317 @buzztaiki committed Mar 17, 2012
Showing with 14 additions and 0 deletions.
  1. +2 −0 bin/imports.groovy
  2. +12 −0 bin/malabarsh
View
2 bin/imports.groovy
@@ -0,0 +1,2 @@
+import org.grumblesmurf.malabar.*
+import java.lang.reflect.*
View
12 bin/malabarsh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+root=$(dirname "$0")/..
+classpath=$(echo $root/target/lib/*.jar | tr ' ' ':'):"$root/target/classes"
+main=org.grumblesmurf.malabar.GroovyServer
+if [ -z "$JAVA_HOME" ]; then
+ javacmd=java
+else
+ javacmd="$JAVA_HOME/bin/java"
+fi
+
+"$javacmd" -cp "$classpath" "$main" "$@"

0 comments on commit 0d7cc0e

Please sign in to comment.
Something went wrong with that request. Please try again.