common/build.xml
changeset 679 7e493c0264f3
parent 677 dd6b7decdca2
child 681 eeab5a04dc46
equal deleted inserted replaced
678:be06d8de937c 679:7e493c0264f3
   464             <param name="sf.brag.log" value="${build.log.dir}/zipconfig.log"/>
   464             <param name="sf.brag.log" value="${build.log.dir}/zipconfig.log"/>
   465             <param name="sf.brag.id" value="PreprocessPackageConfig"/>
   465             <param name="sf.brag.id" value="PreprocessPackageConfig"/>
   466         </antcall>
   466         </antcall>
   467     </target>
   467     </target>
   468     
   468     
   469     <target name="sf-zip-content" >
   469     <target name="sf-zip-content">
       
   470         <!-- If it's the file we use for everything, and it's not up to date... -->
   470         <if>
   471         <if>
   471           <and>
   472           <and>
   472             <equals arg1="${zip.config.file}" arg2="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
   473             <equals arg1="${zip.config.file}" arg2="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
   473             <not><available file="${zip.config.file}"/></not>
   474             <not>
   474           </and>  
   475               <and>
       
   476                 <uptodate targetfile="${sf.common.config.dir}/generated/zip.cfg.xml.ftl">
       
   477                   <srcfiles dir="${sf.common.config.dir}">
       
   478                     <include name="tools/populateziptemplate.pl"/>
       
   479                     <include name="templates/zip.cfg.xml.ftl.template"/>
       
   480                   </srcfiles>
       
   481                 </uptodate>
       
   482                 <uptodate targetfile="${sf.common.config.dir}/generated/zip.cfg.xml.ftl">
       
   483                   <srcfiles dir="${sf.spec.sourcesync.sourcespecdir}">
       
   484                     <include name="${sf.spec.sourcesync.sourcespecfile}"/>
       
   485                   </srcfiles>
       
   486                 </uptodate>
       
   487               </and>
       
   488             </not>
       
   489           </and>
   475           <then>
   490           <then>
       
   491             <!-- (Re)build the packaging config file -->      
   476             <runtarget target="sf-preprocess-package-config"/>
   492             <runtarget target="sf-preprocess-package-config"/>
   477           </then>  
   493           </then>  
   478         </if>
   494         </if>
   479         <if><available file="${zip.config.file}"/>
   495         <if><available file="${zip.config.file}"/>
   480           <then>
   496           <then>