You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2015/07/23 14:33:01 UTC

svn commit: r1692381 - /poi/trunk/src/integrationtest/build.xml

Author: centic
Date: Thu Jul 23 12:33:00 2015
New Revision: 1692381

URL: http://svn.apache.org/r1692381
Log:
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

Modified:
    poi/trunk/src/integrationtest/build.xml

Modified: poi/trunk/src/integrationtest/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/integrationtest/build.xml?rev=1692381&r1=1692380&r2=1692381&view=diff
==============================================================================
--- poi/trunk/src/integrationtest/build.xml (original)
+++ poi/trunk/src/integrationtest/build.xml Thu Jul 23 12:33:00 2015
@@ -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"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org