You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2010/04/26 18:46:08 UTC

svn commit: r938120 - /poi/trunk/build.xml

Author: nick
Date: Mon Apr 26 16:46:08 2010
New Revision: 938120

URL: http://svn.apache.org/viewvc?rev=938120&view=rev
Log:
Tweak depends lines relating to compile-ooxml-xsds, so that the schema files are correctly downloaded if missing

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=938120&r1=938119&r2=938120&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Mon Apr 26 16:46:08 2010
@@ -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}"/>



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