]> source.dussan.org Git - poi.git/commitdiff
When verifying that the source-package can be built copy over third party libs before...
authorDominik Stadler <centic@apache.org>
Thu, 23 Jul 2015 12:33:00 +0000 (12:33 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 23 Jul 2015 12:33:00 +0000 (12:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1692381 13f79535-47bb-0310-9956-ffa450edef68

src/integrationtest/build.xml

index 795788e441b5c165e75d51faf530b5cd978910ab..617056c9c525e917e12b4952d36b472f8b813b61 100644 (file)
@@ -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"/>