aboutsummaryrefslogtreecommitdiffstats
path: root/poi-integration/build.xml
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2021-11-02 13:18:07 +0000
committerDominik Stadler <centic@apache.org>2021-11-02 13:18:07 +0000
commitbf22ea449e2a56bacba13dc3112a72409d9e76a9 (patch)
tree0461f9e5a9c5943972b9f8fe27c5ffa685ef1cc6 /poi-integration/build.xml
parent7a5bc4227bbcb72a7e09adb6e7b6e829b52bdff8 (diff)
downloadpoi-bf22ea449e2a56bacba13dc3112a72409d9e76a9.tar.gz
poi-bf22ea449e2a56bacba13dc3112a72409d9e76a9.zip
Switch to Gradle build for recomplication-test in poi-integration
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-integration/build.xml')
-rw-r--r--poi-integration/build.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/poi-integration/build.xml b/poi-integration/build.xml
index 75c9405cdf..7585fb6935 100644
--- a/poi-integration/build.xml
+++ b/poi-integration/build.xml
@@ -21,12 +21,16 @@ under the License.
<description>Test-Ant file which verifies that the Apache POI distribution build sources can be compiled successfully.
-Before running this, you should execute the "assemble" target in the main build.xml to have the packaged files created correctly.
+Before running this, you should execute the "jar" target in the main build.gradle to have the packaged files created correctly.
</description>
<property name="dist" value="../build/dist"/>
<property name="build" value="../build/distsourcebuild"/>
+ <condition property="gradle.executable" value="../gradlew.bat" else="../gradlew">
+ <os family="windows" />
+ </condition>
+
<target name="init" depends="">
</target>
@@ -69,7 +73,10 @@ Before running this, you should execute the "assemble" target in the main build.
<!-- finally call Ant on the extracted source to check if we can build the packages -->
<echo message="Building in temporary dir ${dirversion}/"/>
- <ant dir="${dirversion}" target="assemble" inheritAll="false" inheritRefs="false" useNativeBasedir="true"/>
+ <!--ant dir="${dirversion}" target="assemble" inheritAll="false" inheritRefs="false" useNativeBasedir="true"/-->
+ <exec executable="${gradle.executable}" dir="." failonerror="true">
+ <arg value="assemble" />
+ </exec>
</target>
<target name="runCompileTest" depends="init" description="Verify that we can compile most examples without including excelant or scratchpad jars">