]> source.dussan.org Git - poi.git/commitdiff
check for old xercesImpl.jar file size > 0
authorAndreas Beeker <kiwiwings@apache.org>
Fri, 21 Feb 2020 22:11:26 +0000 (22:11 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Fri, 21 Feb 2020 22:11:26 +0000 (22:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1874342 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index 9b8cb88f8c6f464231efcf0278cfa30926f63df2..062cba1e6d3f190b42fbd6ab71ce7a3a50524ae8 100644 (file)
@@ -33,7 +33,7 @@ def poijobs = [
         [ name: 'POI-DSL-IBM-JDK', jdk: 'IBMJDK', trigger: triggerSundays, skipcigame: true
         ],
         [ name: 'POI-DSL-old-Xerces', trigger: triggerSundays,
-          shell: "test -f ${xercesLib} || wget -O ${xercesLib} ${xercesUrl}\n",
+          shell: "test -s ${xercesLib} || wget -O ${xercesLib} ${xercesUrl}\n",
           // the property triggers using Xerces as XML Parser and previously showed some exception that can occur
           properties: ["-Dadditionaljar=${xercesLib}"]
         ],