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 '[EMAIL
PROTECTED]"src".*path="\(.*\)"[EMAIL PROTECTED]@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
}