aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorDustin Spicuzza <virtuald@apache.org>2015-10-19 05:59:42 +0000
committerDustin Spicuzza <virtuald@apache.org>2015-10-19 05:59:42 +0000
commit66b0322e382b41570435159aea44ebe8c62efca3 (patch)
tree7297a142811b7cfdaf6bca5995642100826fbe52 /build.xml
parenta14330b4614f2d4e6c199ac9793430612a1931ef (diff)
downloadpoi-66b0322e382b41570435159aea44ebe8c62efca3.tar.gz
poi-66b0322e382b41570435159aea44ebe8c62efca3.zip
poi-import: fix build dependencies
- Compilation + tests work now git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1709356 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index d4730c6972..43c580e4e9 100644
--- a/build.xml
+++ b/build.xml
@@ -177,6 +177,9 @@ under the License.
<property name="dsig.sl4j-api.url" value="${repository.m2}/maven2/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar"/>
<!-- jars in the lib-ooxml directory, see the fetch-ooxml-jars target-->
+ <property name="ooxml.curvesapi.jar" location="${ooxml.lib}/curvesapi-1.02.jar"/>
+ <property name="ooxml.curvesapi.url"
+ value="${repository.m2}/maven2/com/github/virtuald/curvesapi/1.02/curvesapi-1.02.jar"/>
<property name="ooxml.xmlbeans23.jar" location="${ooxml.lib}/xmlbeans-2.3.0.jar"/>
<property name="ooxml.xmlbeans23.url"
value="${repository.m2}/maven2/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar"/>
@@ -276,6 +279,7 @@ under the License.
</path>
<path id="ooxml.classpath">
+ <pathelement location="${ooxml.curvesapi.jar}"/>
<pathelement location="${ooxml.xmlbeans26.jar}"/>
<pathelement location="${ooxml.xsds.jar}"/>
<path refid="main.classpath"/>
@@ -319,6 +323,7 @@ under the License.
</path>
<path id="ooxml-lite.classpath">
+ <pathelement location="${ooxml.curvesapi.jar}"/>
<pathelement location="${ooxml.xmlbeans26.jar}"/>
<pathelement location="${ooxml.lite.output.dir}"/> <!-- instead of ooxml-xsds.jar use the filtered classes-->
<path refid="main.classpath"/>
@@ -558,6 +563,7 @@ under the License.
<condition property="ooxml.jars.present">
<or>
<and>
+ <available file="${ooxml.curvesapi.jar}"/>
<available file="${ooxml.xmlbeans23.jar}"/>
<available file="${ooxml.xmlbeans26.jar}"/>
</and>
@@ -568,6 +574,10 @@ under the License.
<target name="fetch-ooxml-jars" depends="check-ooxml-jars" unless="ooxml.jars.present">
<mkdir dir="${ooxml.lib}"/>
<antcall target="downloadfile">
+ <param name="sourcefile" value="${ooxml.curvesapi.url}"/>
+ <param name="destfile" value="${ooxml.curvesapi.jar}"/>
+ </antcall>
+ <antcall target="downloadfile">
<param name="sourcefile" value="${ooxml.xmlbeans23.url}"/>
<param name="destfile" value="${ooxml.xmlbeans23.jar}"/>
</antcall>