]> source.dussan.org Git - poi.git/commitdiff
Tweak depends lines relating to compile-ooxml-xsds, so that the schema files are...
authorNick Burch <nick@apache.org>
Mon, 26 Apr 2010 16:46:08 +0000 (16:46 +0000)
committerNick Burch <nick@apache.org>
Mon, 26 Apr 2010 16:46:08 +0000 (16:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@938120 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index d318c10dced658cd0903719fcf62c648c2c7cf8f..83bffa9d266f40630c9d5e07cdb840daa34c2f2f 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -358,6 +358,7 @@ under the License.
         </condition>
     </target>
     <target name="fetch-ooxml-xsds" unless="ooxml-xsds.present"
+            depends="check-ooxml-xsds"
             description="Fetches needed OOXML xsd files from the Internet">
         <get src="${ooxml.xsds.url}" dest="${ooxml.xsds.ozip}"/>
         <unzip src="${ooxml.xsds.ozip}" dest="${ooxml.lib}">
@@ -366,7 +367,7 @@ under the License.
             </patternset>
         </unzip>
     </target>
-    <target name="check-compiled-ooxml-xsds">
+    <target name="check-compiled-ooxml-xsds" depends="fetch-ooxml-xsds">
         <condition property="ooxml-compiled-xsds.present">
             <or>
                 <and>
@@ -377,7 +378,7 @@ under the License.
         </condition>
     </target>
     <target name="compile-ooxml-xsds" unless="ooxml-compiled-xsds.present"
-            depends="check-jars,fetch-jars"
+            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"/>
         <mkdir dir="${ooxml.xsds.tmp.dir}"/>