Mercurial Hosting > luan
diff build.sh @ 234:b25feac318d8
add lucene jar and minor changes
git-svn-id: https://luan-java.googlecode.com/svn/trunk@235 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 02 Oct 2014 20:08:39 +0000 |
parents | 2a54cb7d1cf4 |
children |
line wrap: on
line diff
--- a/build.sh Thu Oct 02 02:58:55 2014 +0000 +++ b/build.sh Thu Oct 02 20:08:39 2014 +0000 @@ -39,3 +39,11 @@ javac -classpath $CLASSPATH `find $SRC -name *.java` cd $SRC jar cvf $HOME/dist/luan-mail-$VERSION.jar `find . -name *.class -o -name *.luan` + +cd $HOME +SRC=lucene/src +CLASSPATH=$HOME/core/src:$HOME/$SRC +for i in $HOME/lucene/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done +javac -classpath $CLASSPATH `find $SRC -name *.java` +cd $SRC +jar cvf $HOME/dist/luan-lucene-$VERSION.jar `find . -name *.class -o -name *.luan`