changeset 729:4ce68aad92b7

just build one luan jar file
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 10 Jun 2016 15:32:34 -0600
parents 11839152caef
children 01e68da6983b
files scripts/build-luan.sh
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
diff -r 11839152caef -r 4ce68aad92b7 scripts/build-luan.sh
--- a/scripts/build-luan.sh	Fri Jun 10 14:58:46 2016 -0600
+++ b/scripts/build-luan.sh	Fri Jun 10 15:32:34 2016 -0600
@@ -21,7 +21,7 @@
 CLASSPATH=$LUAN_HOME/$SRC
 javac -classpath $CLASSPATH `find $SRC -name *.java`
 cd $SRC
-jar cvf $LUAN_BUILD/luan/jars/luan-core-$VERSION.jar `find . -name *.class -o -name *.luan`
+jar cvf $LUAN_BUILD/luan/jars/luan-$VERSION.jar `find . -name *.class -o -name *.luan`
 
 cd $LUAN_HOME
 SRC=http/src
@@ -29,7 +29,7 @@
 for i in $LUAN_HOME/http/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
 javac -classpath $CLASSPATH `find $SRC -name *.java`
 cd $SRC
-jar cvf $LUAN_BUILD/luan/jars/luan-http-$VERSION.jar `find . -name *.class -o -name *.luan`
+jar uvf $LUAN_BUILD/luan/jars/luan-$VERSION.jar `find . -name *.class -o -name *.luan`
 cp $LUAN_HOME/http/ext/* $LUAN_BUILD/luan/jars
 
 cd $LUAN_HOME
@@ -38,7 +38,7 @@
 for i in $LUAN_HOME/logging/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
 javac -classpath $CLASSPATH `find $SRC -name *.java`
 cd $SRC
-jar cvf $LUAN_BUILD/luan/jars/luan-logging-$VERSION.jar `find . -name *.class -o -name *.luan`
+jar uvf $LUAN_BUILD/luan/jars/luan-$VERSION.jar `find . -name *.class -o -name *.luan`
 cp $LUAN_HOME/logging/ext/* $LUAN_BUILD/luan/jars
 
 cd $LUAN_HOME
@@ -47,7 +47,7 @@
 for i in $LUAN_HOME/mail/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
 javac -classpath $CLASSPATH `find $SRC -name *.java`
 cd $SRC
-jar cvf $LUAN_BUILD/luan/jars/luan-mail-$VERSION.jar `find . -name *.class -o -name *.luan`
+jar uvf $LUAN_BUILD/luan/jars/luan-$VERSION.jar `find . -name *.class -o -name *.luan`
 cp $LUAN_HOME/mail/ext/* $LUAN_BUILD/luan/jars
 
 cd $LUAN_HOME
@@ -56,7 +56,7 @@
 for i in $LUAN_HOME/lucene/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
 javac -classpath $CLASSPATH `find $SRC -name *.java`
 cd $SRC
-jar cvf $LUAN_BUILD/luan/jars/luan-lucene-$VERSION.jar `find . -name *.class -o -name *.luan`
+jar uvf $LUAN_BUILD/luan/jars/luan-$VERSION.jar `find . -name *.class -o -name *.luan`
 cp $LUAN_HOME/lucene/ext/* $LUAN_BUILD/luan/jars
 
 cp $LUAN_HOME/scripts/install.sh $LUAN_BUILD/luan