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
This commit is contained in:
Dominik Stadler 2015-07-23 12:33:00 +00:00
parent f87d04c7cc
commit 7e235409da

View File

@ -63,6 +63,20 @@ under the License.
</dirset> </dirset>
</pathconvert> </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 --> <!-- finally call Ant on the extracted source to check if we can build the packages -->
<echo message="Building in temporary dir ${dirversion}/"/> <echo message="Building in temporary dir ${dirversion}/"/>
<ant dir="${dirversion}" target="jar" inheritAll="false" inheritRefs="false" useNativeBasedir="true"/> <ant dir="${dirversion}" target="jar" inheritAll="false" inheritRefs="false" useNativeBasedir="true"/>