Applying patch for Issue 9 (thanks again to iainsproat)

git-svn-id: http://google-refine.googlecode.com/svn/trunk@685 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-05-10 16:06:07 +00:00
parent b23f6e0fa1
commit 861516cd92

View File

@ -316,7 +316,7 @@ windmill_prepare() {
fi
if [ ! -f "$WINDMILL" ]; then
$PYTHON_INSTALL windmill
"$PYTHON_INSTALL" windmill
fi
fi
}
@ -500,9 +500,9 @@ ui_test() {
echo "Starting Windmill... (press COMMAND-c or CTRL-c to exit)"
if [ -z "$INTERACTIVE" ]; then
$WINDMILL firefox http://${GRIDWORKS_HOST}:${GRIDWORKS_PORT}/ jsdir=$GRIDWORKS_TEST_DIR/windmill/js > /dev/null
"$WINDMILL" firefox http://${GRIDWORKS_HOST}:${GRIDWORKS_PORT}/ jsdir=$GRIDWORKS_TEST_DIR/windmill/js > /dev/null
else
$WINDMILL firefox http://${GRIDWORKS_HOST}:${GRIDWORKS_PORT}/ > /dev/null
"$WINDMILL" firefox http://${GRIDWORKS_HOST}:${GRIDWORKS_PORT}/ > /dev/null
fi
echo ""
@ -521,7 +521,7 @@ server_test() {
CLASSPATH="$GRIDWORKS_BUILD_DIR/classes${SEP}$GRIDWORKS_WEBAPP/WEB-INF/classes${SEP}$GRIDWORKS_TEST_DIR/java/classes${SEP}$GRIDWORKS_TEST_DIR/java/lib/*${SEP}$GRIDWORKS_LIB_DIR/*${SEP}$GRIDWORKS_WEBAPP/WEB-INF/lib/*"
if [ -z "$1" ]; then
cd $GRIDWORKS_TEST_DIR/java/classes
cd "$GRIDWORKS_TEST_DIR/java/classes"
TESTS=`find . -name '*.class' | sed s@/@.@g | sed s@.class@@ | sed s@..@@`
cd ../../..
else