You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pi...@apache.org on 2006/05/25 15:06:59 UTC
svn commit: r409383 - /webservices/axis2/trunk/c/build_all.sh
Author: pini
Date: Thu May 25 06:06:59 2006
New Revision: 409383
URL: http://svn.apache.org/viewvc?rev=409383&view=rev
Log:
added error handling to build_all.sh script
Modified:
webservices/axis2/trunk/c/build_all.sh
Modified: webservices/axis2/trunk/c/build_all.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/build_all.sh?rev=409383&r1=409382&r2=409383&view=diff
==============================================================================
--- webservices/axis2/trunk/c/build_all.sh (original)
+++ webservices/axis2/trunk/c/build_all.sh Thu May 25 06:06:59 2006
@@ -1,17 +1,36 @@
#!/bin/bash
cd util
-sh build.sh
+
+sh build.sh 2>error.log
+ if grep -w 'Error' `find -name "error.log"`; then
+ echo "Error, see util/error.log for details"
+ exit 2
+fi
+
cd ..
+
cd axiom
-sh build.sh
+
+sh build.sh 2>error.log
+ if grep -w 'Error' `find -name "error.log"`; then
+ echo "Error, see util/error.log for details"
+ exit 2
+fi
+
cd ..
-./autogen.sh
-AXIS2C_HOME=`pwd`/deploy
-AXIS2C=`pwd`
-export AXIS2C_HOME AXIS2C
-./configure --prefix=${AXIS2C_HOME} --enable-tests=yes --enable-trace=yes --with-apache2=/usr/include/apache2 --with-apr=/usr/include/apr-0 --enable-diclient=no --enable-static=no --enable-openssl=no --with-axis2_util=${AXIS2C}/util/include --with-axiom=${AXIS2C}/axiom/include
-make
-make install
+
+sh build.sh 2>error.log
+ if grep -w 'Error' `find -name "error.log"`; then
+ echo "Error, see util/error.log for details"
+ exit 2
+fi
+
cd samples
-sh build.sh
+
+sh build.sh 2>error.log
+ if grep -w 'Error' `find -name "error.log"`; then
+ echo "Error, see util/error.log for details"
+ exit 2
+fi
+
cd ..
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org