Permalink
Browse files

Updated the build script to display a useful error message in respons…

…e to an error I encountered when I first pulled the project (I hadn't done clone --recursive, and got a Gradle-related noclassdef as a result)
  • Loading branch information...
1 parent 24c9208 commit c65a7f06dc9d33f73caa9c3fe209df95bb38a048 @straxus straxus committed May 12, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 gradlew
View
6 gradlew 100755 → 100644
@@ -143,3 +143,9 @@ GRADLE_APP_BASE_NAME=`basename "$0"`
-Dorg.gradle.wrapper.properties="$WRAPPER_PROPERTIES" \
$STARTER_MAIN_CLASS \
"$@"
+
+RETCODE=$?
+
+if [ "$RETCODE" == "1" ] ; then
+ echo "Gradle classes not found -- did you forget to clone --recursive when checking out this repository? See README for more details"
+fi

0 comments on commit c65a7f0

Please sign in to comment.