axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r409368 - /webservices/axis2/trunk/c/axiom/build.sh
Date Thu, 25 May 2006 12:11:30 GMT
Author: pini
Date: Thu May 25 05:11:26 2006
New Revision: 409368

URL: http://svn.apache.org/viewvc?rev=409368&view=rev
Log:
added error handling to build.sh script


Modified:
    webservices/axis2/trunk/c/axiom/build.sh

Modified: webservices/axis2/trunk/c/axiom/build.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/build.sh?rev=409368&r1=409367&r2=409368&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/build.sh (original)
+++ webservices/axis2/trunk/c/axiom/build.sh Thu May 25 05:11:26 2006
@@ -1,5 +1,23 @@
 #!/bin/bash
+
 ./autogen.sh
+
 ./configure --prefix=${AXIS2C_HOME} --enable-static=no --with-axis2_util=${AXIS2C_HOME}/include
--enable-tests=yes
-make
-make install
+if [ -s error.log ]
+then
+    echo "Error, see error.log for details"
+	exit 2
+fi
+
+make  2>error.log
+if grep -w 'Error' `find -name "error.log"`; then
+	echo "Error, see error.log for details"
+	exit 2
+fi
+
+make install 2>error.log
+if grep -w 'Error' `find -name "error.log"`; then
+	echo "Error, see error.log for details"
+	exit 2
+fi
+



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message