common/build.xml
changeset 456 1ba3c86ebec0
parent 441 efd6b490c9fa
child 461 874d24067366
equal deleted inserted replaced
455:bb24766fdbdc 456:1ba3c86ebec0
   440         </if>
   440         </if>
   441     </target>
   441     </target>
   442 
   442 
   443     <target name="sf-preprocess-package-config">
   443     <target name="sf-preprocess-package-config">
   444         <mkdir dir="${sf.common.config.dir}/generated"/>
   444         <mkdir dir="${sf.common.config.dir}/generated"/>
   445             <if><istrue value="${sf.spec.package.src.enable}"/>
   445         <if>
       
   446             <istrue value="${sf.spec.package.src.enable}"/>
   446             <then>
   447             <then>
   447                 <echo message="INFO Packaging Source Repos"/>
   448                 <echo message="INFO Packaging Source Repos"/>
   448                 <property name="sf-preprocess-package-config.arg" value=""/>
   449                 <property name="sf-preprocess-package-config.arg" value=""/>
   449             </then>
   450             </then>
   450             <else>
   451             <else>
   451                 <echo message="INFO Packaging: Ignoring Source Repos"/>
   452                 <echo message="INFO Packaging: Ignoring Source Repos"/>
   452                 <property name="sf-preprocess-package-config.arg" value="--nosource"/>
   453                 <property name="sf-preprocess-package-config.arg" value="--nosource"/>
   453             </else>
   454             </else>
   454             </if>
   455         </if>
   455 
   456 
   456         <exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log">
   457         <exec executable="perl" dir="${build.drive}/" failonerror="false" output="${build.log.dir}/zipconfig.log">
   457             <arg value="${sf.common.config.dir}/tools/populateziptemplate.pl"/>
   458             <arg value="${sf.common.config.dir}/tools/populateziptemplate.pl"/>
   458             <arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
   459             <arg value="${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/>
   459             <arg value="${sf.common.config.dir}/templates/zip.cfg.xml.ftl.template"/>
   460             <arg value="${sf.common.config.dir}/templates/zip.cfg.xml.ftl.template"/>
   473         <!-- Firstly zip up src & rnd by package -->
   474         <!-- Firstly zip up src & rnd by package -->
   474         <antcall target="sf-zip-content">
   475         <antcall target="sf-zip-content">
   475             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
   476             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
   476             <param name="zip.target.name" value="src" />
   477             <param name="zip.target.name" value="src" />
   477         </antcall>
   478         </antcall>
       
   479         <antcall target="sf-zip-content">
       
   480             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
       
   481             <param name="zip.target.name" value="rnd" />
       
   482         </antcall>
       
   483         <antcall target="sf-zip-content">
       
   484             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
       
   485             <param name="zip.target.name" value="rnd-internal" />
       
   486         </antcall>
   478         <!-- Then zip up src zips by layer -->
   487         <!-- Then zip up src zips by layer -->
   479         <antcall target="sf-zip-content">
   488         <antcall target="sf-zip-content">
   480             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
   489             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
   481             <param name="zip.target.name" value="src-by-layer" />
   490             <param name="zip.target.name" value="src-by-layer" />
   482         </antcall>
   491         </antcall>