diff scripts/build-luan.sh @ 521:8a217fe5b4f3

cleaner LuanState.onClose()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 27 May 2015 03:12:28 -0600
parents 1d082a0812e0
children 7bd97d642f37
line wrap: on
line diff
--- a/scripts/build-luan.sh	Wed May 27 01:30:25 2015 -0600
+++ b/scripts/build-luan.sh	Wed May 27 03:12:28 2015 -0600
@@ -3,6 +3,7 @@
 cd `dirname $0`/..
 LUAN_HOME=`pwd`
 LUAN_BUILD=$LUAN_HOME/build
+SLF4J=$LUAN_HOME/logging/ext/slf4j-api-1.6.4.jar
 
 VERSION=`scripts/version.sh`
 
@@ -23,7 +24,7 @@
 
 cd $LUAN_HOME
 SRC=http/src
-CLASSPATH=$LUAN_HOME/core/src:$LUAN_HOME/$SRC
+CLASSPATH=$LUAN_HOME/core/src:$LUAN_HOME/$SRC:$SLF4J
 for i in $LUAN_HOME/http/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
 javac -classpath $CLASSPATH `find $SRC -name *.java`
 cd $SRC
@@ -50,7 +51,7 @@
 
 cd $LUAN_HOME
 SRC=lucene/src
-CLASSPATH=$LUAN_HOME/core/src:$LUAN_HOME/$SRC
+CLASSPATH=$LUAN_HOME/core/src:$LUAN_HOME/$SRC:$SLF4J
 for i in $LUAN_HOME/lucene/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
 javac -classpath $CLASSPATH `find $SRC -name *.java`
 cd $SRC