hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r689363 - /hadoop/core/trunk/src/test/bin/test-patch.sh
Date Wed, 27 Aug 2008 06:08:36 GMT
Author: nigel
Date: Tue Aug 26 23:08:36 2008
New Revision: 689363

URL: http://svn.apache.org/viewvc?rev=689363&view=rev
Log:
fix patch process to log a more coherent message when the eclipse jars are not right

Modified:
    hadoop/core/trunk/src/test/bin/test-patch.sh

Modified: hadoop/core/trunk/src/test/bin/test-patch.sh
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/test/bin/test-patch.sh?rev=689363&r1=689362&r2=689363&view=diff
==============================================================================
--- hadoop/core/trunk/src/test/bin/test-patch.sh (original)
+++ hadoop/core/trunk/src/test/bin/test-patch.sh Tue Aug 26 23:08:36 2008
@@ -488,11 +488,15 @@
   export ECLIPSE_DECLARED_SRC=$(sed -n 's@.*kind="src".*path="\(.*\)".*@\1@p' < .eclipse.templates/.classpath
|sort)
 
   if [ "${DECLARED_JARS}" != "${PRESENT_JARS}" ]; then
-    echo "Some jars are not declared in the Eclipse project."
+    echo "
+FAILED. Some jars are not declared in the Eclipse project.
+  Declared jars: ${DECLARED_JARS}
+  Present jars:  ${PRESENT_JARS}"
     return 1
   fi
   for dir in $ECLIPSE_DECLARED_SRC; do
-    [ '!' -d $dir ] && echo "$dir is referenced in the Eclipse project although it
doesn't exists anymore." && return 1
+    [ '!' -d $dir ] && echo "
+FAILED: $dir is referenced in the Eclipse project although it doesn't exists anymore." &&
return 1
   done
   return 0
 }



Mime
View raw message