changeset 403:637f7ad85654

fix build to include stripe
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 28 Apr 2015 22:49:33 -0600
parents 62b457c50594
children d55e873e1f0d
files scripts/build-luan.sh
diffstat 1 files changed, 12 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/build-luan.sh	Tue Apr 28 22:38:31 2015 -0600
+++ b/scripts/build-luan.sh	Tue Apr 28 22:49:33 2015 -0600
@@ -28,6 +28,7 @@
 javac -classpath $CLASSPATH `find $SRC -name *.java`
 cd $SRC
 jar cvf $LUAN_BUILD/luan/jars/luan-web-$VERSION.jar `find . -name *.class -o -name *.luan`
+cp $LUAN_HOME/web/ext/* $LUAN_BUILD/luan/jars
 
 cd $LUAN_HOME
 SRC=logging/src
@@ -36,6 +37,7 @@
 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`
+cp $LUAN_HOME/logging/ext/* $LUAN_BUILD/luan/jars
 
 cd $LUAN_HOME
 SRC=mail/src
@@ -44,6 +46,7 @@
 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`
+cp $LUAN_HOME/mail/ext/* $LUAN_BUILD/luan/jars
 
 cd $LUAN_HOME
 SRC=lucene/src
@@ -52,11 +55,16 @@
 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`
+cp $LUAN_HOME/lucene/ext/* $LUAN_BUILD/luan/jars
 
-cp $LUAN_HOME/web/ext/* $LUAN_BUILD/luan/jars
-cp $LUAN_HOME/logging/ext/* $LUAN_BUILD/luan/jars
-cp $LUAN_HOME/mail/ext/* $LUAN_BUILD/luan/jars
-cp $LUAN_HOME/lucene/ext/* $LUAN_BUILD/luan/jars
+cd $LUAN_HOME
+SRC=stripe/src
+CLASSPATH=$LUAN_HOME/core/src:$LUAN_HOME/$SRC
+for i in $LUAN_HOME/stripe/ext/* ; do CLASSPATH=$CLASSPATH:$i ; done
+javac -classpath $CLASSPATH `find $SRC -name *.java`
+cd $SRC
+jar cvf $LUAN_BUILD/luan/jars/luan-stripe-$VERSION.jar `find . -name *.class -o -name *.luan`
+cp $LUAN_HOME/stripe/ext/* $LUAN_BUILD/luan/jars
 
 cp $LUAN_HOME/scripts/install.sh $LUAN_BUILD/luan
 chmod +x $LUAN_BUILD/luan/install.sh