comparison scripts/build-luan.sh @ 493:1d082a0812e0

move web to http
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 15 May 2015 17:29:59 -0600
parents aedb90df53ce
children 8a217fe5b4f3
comparison
equal deleted inserted replaced
492:b36cc406d3d2 493:1d082a0812e0
20 javac -classpath $CLASSPATH `find $SRC -name *.java` 20 javac -classpath $CLASSPATH `find $SRC -name *.java`
21 cd $SRC 21 cd $SRC
22 jar cvf $LUAN_BUILD/luan/jars/luan-core-$VERSION.jar `find . -name *.class -o -name *.luan` 22 jar cvf $LUAN_BUILD/luan/jars/luan-core-$VERSION.jar `find . -name *.class -o -name *.luan`
23 23
24 cd $LUAN_HOME 24 cd $LUAN_HOME
25 SRC=web/src 25 SRC=http/src
26 CLASSPATH=$LUAN_HOME/core/src:$LUAN_HOME/$SRC 26 CLASSPATH=$LUAN_HOME/core/src:$LUAN_HOME/$SRC
27 for i in $LUAN_HOME/web/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done 27 for i in $LUAN_HOME/http/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
28 javac -classpath $CLASSPATH `find $SRC -name *.java` 28 javac -classpath $CLASSPATH `find $SRC -name *.java`
29 cd $SRC 29 cd $SRC
30 jar cvf $LUAN_BUILD/luan/jars/luan-web-$VERSION.jar `find . -name *.class -o -name *.luan` 30 jar cvf $LUAN_BUILD/luan/jars/luan-http-$VERSION.jar `find . -name *.class -o -name *.luan`
31 cp $LUAN_HOME/web/ext/* $LUAN_BUILD/luan/jars 31 cp $LUAN_HOME/http/ext/* $LUAN_BUILD/luan/jars
32 32
33 cd $LUAN_HOME 33 cd $LUAN_HOME
34 SRC=logging/src 34 SRC=logging/src
35 CLASSPATH=$LUAN_HOME/core/src:$LUAN_HOME/$SRC 35 CLASSPATH=$LUAN_HOME/core/src:$LUAN_HOME/$SRC
36 for i in $LUAN_HOME/logging/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done 36 for i in $LUAN_HOME/logging/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done