aboutsummaryrefslogtreecommitdiffstats
path: root/src/integrationtest/build.xml
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2015-07-23 12:33:00 +0000
committerDominik Stadler <centic@apache.org>2015-07-23 12:33:00 +0000
commitc5156fd83beeabcaca8dcc4c4bb0999357ecf91f (patch)
tree9f35333c19aa26eafa01e9d6bf2168a22c69f060 /src/integrationtest/build.xml
parentbe08c4318098eb0f1763b250ec072689a98d425a (diff)
downloadpoi-c5156fd83beeabcaca8dcc4c4bb0999357ecf91f.tar.gz
poi-c5156fd83beeabcaca8dcc4c4bb0999357ecf91f.zip
When verifying that the source-package can be built copy over third party libs before starting to build to not download these files from scratch every time
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1692381 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/integrationtest/build.xml')
-rw-r--r--src/integrationtest/build.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/integrationtest/build.xml b/src/integrationtest/build.xml
index 795788e441..617056c9c5 100644
--- a/src/integrationtest/build.xml
+++ b/src/integrationtest/build.xml
@@ -63,6 +63,20 @@ under the License.
</dirset>
</pathconvert>
+ <!-- copy over required libs to avoid re-downloading them always -->
+ <mkdir dir="${dirversion}/lib"/>
+ <mkdir dir="${dirversion}/ooxml-lib"/>
+ <mkdir dir="${dirversion}/compile-lib"/>
+ <copy todir="${dirversion}/lib">
+ <fileset dir="../../lib"/>
+ </copy>
+ <copy todir="${dirversion}/ooxml-lib">
+ <fileset dir="../../ooxml-lib"/>
+ </copy>
+ <copy todir="${dirversion}/compile-lib">
+ <fileset dir="../../compile-lib"/>
+ </copy>
+
<!-- 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="jar" inheritAll="false" inheritRefs="false" useNativeBasedir="true"/>