comparison build.sh @ 229:2a54cb7d1cf4

improve security git-svn-id: https://luan-java.googlecode.com/svn/trunk@230 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Wed, 24 Sep 2014 21:13:46 +0000
parents 3918f92de5fe
children b25feac318d8
comparison
equal deleted inserted replaced
228:7580379cdc79 229:2a54cb7d1cf4
24 cd $SRC 24 cd $SRC
25 jar cvf $HOME/dist/luan-web-$VERSION.jar `find . -name *.class -o -name *.luan` 25 jar cvf $HOME/dist/luan-web-$VERSION.jar `find . -name *.class -o -name *.luan`
26 26
27 cd $HOME 27 cd $HOME
28 SRC=logging/src 28 SRC=logging/src
29 CLASSPATH=$HOME/core/src:$HOME/$SRC 29 #CLASSPATH=$HOME/core/src:$HOME/$SRC
30 for i in $HOME/web/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done 30 #for i in $HOME/logging/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
31 #javac -classpath $CLASSPATH `find $SRC -name *.java` 31 #javac -classpath $CLASSPATH `find $SRC -name *.java`
32 cd $SRC 32 cd $SRC
33 jar cvf $HOME/dist/luan-logging-$VERSION.jar `find . -name *.class -o -name *.luan` 33 jar cvf $HOME/dist/luan-logging-$VERSION.jar `find . -name *.class -o -name *.luan`
34
35 cd $HOME
36 SRC=mail/src
37 CLASSPATH=$HOME/core/src:$HOME/$SRC
38 for i in $HOME/mail/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
39 javac -classpath $CLASSPATH `find $SRC -name *.java`
40 cd $SRC
41 jar cvf $HOME/dist/luan-mail-$VERSION.jar `find . -name *.class -o -name *.luan`