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 2021/02/28 19:48:22 UTC

svn commit: r1887012 - /poi/trunk/build.gradle

Author: fanningpj
Date: Sun Feb 28 19:48:22 2021
New Revision: 1887012

URL: http://svn.apache.org/viewvc?rev=1887012&view=rev
Log:
change gradle build to get unreleased xmlbeans jar from ci-builds (like ant build does)

Modified:
    poi/trunk/build.gradle

Modified: poi/trunk/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1887012&r1=1887011&r2=1887012&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Sun Feb 28 19:48:22 2021
@@ -270,9 +270,10 @@ project('ooxml') {
         antdep 'org.apache.ant:ant:1.10.9'
     }
 
-    task downloadJarsToLibs(){
-        def f = new File('lib/ooxml/xmlbeans-4.0.1.jar')
+    task downloadJarsToLibs() {
+        def f = new File("$projectDir/../../lib/ooxml/xmlbeans-4.0.1.jar")
         if (!f.exists()) {
+            println 'writing file ' + f.getAbsolutePath()
             new URL('https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/lastSuccessfulBuild/artifact/build/xmlbeans-4.0.1.jar').withInputStream{ i -> f.withOutputStream{ it << i }}
         }
     }



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