]> source.dussan.org Git - poi.git/commitdiff
Try to workaround/ignore kept open files of JaCoCo ant task
authorAndreas Beeker <kiwiwings@apache.org>
Mon, 19 Nov 2018 20:47:03 +0000 (20:47 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Mon, 19 Nov 2018 20:47:03 +0000 (20:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1846945 13f79535-47bb-0310-9956-ffa450edef68

src/integrationtest/build.xml

index 26bd57e108051d9ad92685d83fffa082c669f6c2..a228a22374138421de632d2c7c934a2cba8bdcda 100644 (file)
@@ -82,7 +82,9 @@ Before running this, you should execute the "assemble" target in the main build.
 
     <target name="runCompileTest" depends="init" description="Verify that we can compile most examples without including excelant or scratchpad jars">
         <!-- clean out old stuff in build-dir -->
-        <delete dir="${build}"/>
+        <delete dir="${build}" quiet="true" failonerror="false"/>
+        <!-- ... try again - on Windows, the JaCoCo ant task seems to keep files open and hence the lib directory can't be removed -->
+        <delete dir="${build}" quiet="true" failonerror="false"/>
         <mkdir dir="${build}"/>
 
         <!-- select latest built jar files without scratchpad.jar -->