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 12:47:05 UTC

svn commit: r409357 - /webservices/axis2/trunk/c/util/build.sh

Author: pini
Date: Thu May 25 03:47:03 2006
New Revision: 409357

URL: http://svn.apache.org/viewvc?rev=409357&view=rev
Log:
added error handling for buils.sh script.


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

Modified: webservices/axis2/trunk/c/util/build.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/build.sh?rev=409357&r1=409356&r2=409357&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/build.sh (original)
+++ webservices/axis2/trunk/c/util/build.sh Thu May 25 03:47:03 2006
@@ -1,5 +1,23 @@
 #!/bin/bash
+
 ./autogen.sh
-./configure --prefix=${AXIS2C_HOME} --enable-static=no --enable-tests=yes
-make
-make install
+
+./configure --prefix=${AXIS2C_HOME} --enable-static=no 2> error.log
+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