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 14:17:07 UTC
svn commit: r409369 - /webservices/axis2/trunk/c/samples/build.sh
Author: pini
Date: Thu May 25 05:17:05 2006
New Revision: 409369
URL: http://svn.apache.org/viewvc?rev=409369&view=rev
Log:
added error handling to build.sh script
Modified:
webservices/axis2/trunk/c/samples/build.sh
Modified: webservices/axis2/trunk/c/samples/build.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/build.sh?rev=409369&r1=409368&r2=409369&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/build.sh (original)
+++ webservices/axis2/trunk/c/samples/build.sh Thu May 25 05:17:05 2006
@@ -1,5 +1,23 @@
#!/bin/bash
+
./autogen.sh
+
./configure --prefix=${AXIS2C_HOME} --with-axis2_util=${AXIS2C_HOME}/include --with-axiom=${AXIS2C_HOME}/include
-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