aboutsummaryrefslogtreecommitdiffstats
path: root/integrationtest
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-03-28 01:12:58 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-03-28 01:12:58 +0000
commitd2958cca7ffa844d5bcf3f552199e598ca53540f (patch)
treeaf12a3f6d10a6e35a7d6d919493e04d0f9f79f6d /integrationtest
parent153d28593db32a6a7ffb3eb959d19acae64e753c (diff)
downloadpoi-d2958cca7ffa844d5bcf3f552199e598ca53540f.tar.gz
poi-d2958cca7ffa844d5bcf3f552199e598ca53540f.zip
65206 - Migrate ant / maven to gradle build
fix distsourcebuild git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1888121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'integrationtest')
-rw-r--r--integrationtest/build.xml (renamed from integrationtest/src/test/java/build.xml)16
1 files changed, 8 insertions, 8 deletions
diff --git a/integrationtest/src/test/java/build.xml b/integrationtest/build.xml
index 263a3810c2..f1b139a940 100644
--- a/integrationtest/src/test/java/build.xml
+++ b/integrationtest/build.xml
@@ -24,8 +24,8 @@ under the License.
Before running this, you should execute the "assemble" target in the main build.xml to have the packaged files created correctly.
</description>
- <property name="dist" value="../../build/dist"/>
- <property name="build" value="../../build/distsourcebuild"/>
+ <property name="dist" value="../build/dist"/>
+ <property name="build" value="../build/distsourcebuild"/>
<target name="init" depends="">
</target>
@@ -64,7 +64,7 @@ Before running this, you should execute the "assemble" target in the main build.
<!-- copy over required libs to avoid re-downloading them always -->
<mkdir dir="${dirversion}/lib"/>
<copy todir="${dirversion}/lib">
- <fileset dir="../../lib"/>
+ <fileset dir="../lib"/>
</copy>
<!-- finally call Ant on the extracted source to check if we can build the packages -->
@@ -107,15 +107,15 @@ Before running this, you should execute the "assemble" target in the main build.
<echo message="Found jar packages at ${jarpackage}, dist: ${dist}"/>
<path id="libs">
- <fileset dir="../../lib/main" includes="*.jar"/>
- <fileset dir="../../lib/ooxml" includes="*.jar"/>
- <fileset dir="../../lib/main-tests">
+ <fileset dir="../lib/main" includes="*.jar"/>
+ <fileset dir="../lib/ooxml" includes="*.jar"/>
+ <fileset dir="../lib/main-tests">
<include name="junit*.jar"/>
</fileset>
</path>
<echo message="Compiling examples without linking to scratchpad.jar to ensure that only some specific ones require this jar"/>
- <javac srcdir="../examples/src" destdir="${build}"
+ <javac srcdir="../examples/src/main/java" destdir="${build}"
target="1.8" source="1.8" debug="true"
encoding="ASCII" fork="yes" includeantruntime="false"
excludes="org/apache/poi/examples/hslf/**,org/apache/poi/examples/hsmf/**,org/apache/poi/examples/hwmf/**,**/EmbeddedObjects.java,**/EmeddedObjects.java,**/LoadEmbedded.java,**/Word2Forrest.java"
@@ -139,7 +139,7 @@ Before running this, you should execute the "assemble" target in the main build.
</pathconvert>
<echo message="Compiling all examples with the additional scratchpad.jar"/>
- <javac srcdir="../examples/src" destdir="${build}"
+ <javac srcdir="../examples/src/main/java" destdir="${build}"
target="1.8" source="1.8" debug="true"
encoding="ASCII" fork="yes" includeantruntime="false"
classpath="${jarpackagescratchpad}" classpathref="libs">