File: 05_use-local-ooxml-xsds.patch

package info (click to toggle)
libapache-poi-java 3.10.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 112,184 kB
  • ctags: 47,049
  • sloc: java: 305,148; xml: 43,554; makefile: 238; jsp: 85; ruby: 78; sh: 58; cpp: 17
file content (31 lines) | stat: -rw-r--r-- 1,319 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Patch to use the local OOXML schema instead of fetching the files from the ECMA site at build time
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -474,7 +474,7 @@
             </or>
         </condition>
     </target>
-    <target name="compile-ooxml-xsds" unless="ooxml-compiled-xsds.present"
+    <target name="compile-ooxml-xsds"
             depends="check-jars,fetch-jars,check-compiled-ooxml-xsds"
             description="Unpacks the OOXML xsd files, and compiles them into XmlBeans">
         <property name="ooxml.xsds.tmp.dir" location="build/ooxml-xsds"/>
@@ -491,7 +491,6 @@
            <equals arg1="${sun.arch.data.model}" arg2="64" />
         </condition>
 
-        <unzip src="${ooxml.xsds.izip}" dest="${ooxml.xsds.tmp.dir}"/>
         <!--
               schema="build/ooxml-xsds/"
               schema="build/ooxml-xsds/sml-workbook.xsd"
@@ -516,7 +515,7 @@
                 />
     </target>
 
-    <target name="compile-ooxml-encryption-xsds" unless="ooxml-compiled-encryption-xsds.present"
+    <target name="compile-ooxml-encryption-xsds"
             depends="check-jars,fetch-jars,check-compiled-ooxml-xsds"
             description="Compiles the OOXML encryption xsd files into XmlBeans">
         <taskdef name="xmlbean"