You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2026/06/08 08:50:09 UTC

svn commit: r1935140 - xmlbeans/trunk

Author: fanningpj
Date: Mon Jun  8 08:50:09 2026
New Revision: 1935140

Log:
try to fix gradlew which needs to include an ASF hack

Modified:
   xmlbeans/trunk/gradlew

Modified: xmlbeans/trunk/gradlew
==============================================================================
--- xmlbeans/trunk/gradlew	Mon Jun  8 08:41:09 2026	(r1935139)
+++ xmlbeans/trunk/gradlew	Mon Jun  8 08:50:09 2026	(r1935140)
@@ -114,6 +114,18 @@ case "$( uname )" in                #(
   NONSTOP* )        nonstop=true ;;
 esac
 
+# Loop in case we encounter an error.
+for attempt in 1 2 3; do
+  if [ ! -e "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" ]; then
+    if ! curl -s -S --retry 3 -L -o "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" "https://raw.githubusercontent.com/gradle/gradle/v8.14.4/gradle/wrapper/gradle-wrapper.jar"; then
+      rm -f "$APP_HOME/gradle/wrapper/gradle-wrapper.jar"
+      # Pause for a bit before looping in case the server throttled us.
+      sleep 5
+      continue
+    fi
+  fi
+done
+
 CLASSPATH="\\\"\\\""
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org