Permalink
Browse files

rexster.sh serving dog house properly now in zip and from root of sou…

…rce.
  • Loading branch information...
1 parent 544a63c commit c1871b2cf889903b7415f718945fc456f29472d2 @spmallette spmallette committed Jul 8, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −2 rexster-server/rexster.sh
  2. +3 −1 rexster-server/src/main/bin/rexster.sh
  3. +1 −2 rexster.sh
@@ -1,6 +1,5 @@
#!/bin/bash
DIR="$( cd "$( dirname "$0" )" && pwd )"
-PUBDIR=$DIR/target/rexster-server-*-standalone/public/
-$DIR/target/rexster-server-*-standalone/bin/rexster.sh $@ -wr $PUBDIR
+$DIR/target/rexster-server-*-standalone/bin/rexster.sh $@
@@ -4,6 +4,8 @@ CP=$( echo `dirname $0`/../lib/*.jar . | sed 's/ /:/g')
CP=$CP:$(find `dirname $0`/../ext/ -name "*.jar" | tr '\n' ':')
#echo $CP
+PUBLIC=`dirname $0`/../public/
+
# Find Java
if [ "$JAVA_HOME" = "" ] ; then
JAVA="java -server"
@@ -17,7 +19,7 @@ if [ "$JAVA_OPTIONS" = "" ] ; then
fi
# Launch the application
-$JAVA $JAVA_OPTIONS -cp $CP com.tinkerpop.rexster.WebServer $@
+$JAVA $JAVA_OPTIONS -cp $CP com.tinkerpop.rexster.WebServer $@ -wr $PUBLIC
# Return the program's exit code
exit $?
View
@@ -3,6 +3,5 @@
cd rexster-server
DIR="$( cd "$( dirname "$0" )" && pwd )"
-PUBDIR=$DIR/target/rexster-server-*-standalone/public/
-$DIR/target/rexster-server-*-standalone/bin/rexster.sh $@ -wr $PUBDIR
+$DIR/target/rexster-server-*-standalone/bin/rexster.sh $@

0 comments on commit c1871b2

Please sign in to comment.