common/build.postbuild.xml
changeset 625 4f9a01580199
parent 621 327e5b81f1d5
child 628 90be37e95e2f
equal deleted inserted replaced
624:5264fdaaf0c6 625:4f9a01580199
   515             <arg value="-XSL"/>
   515             <arg value="-XSL"/>
   516             <arg value="${sf.common.config.dir}/tools/brag/bragForDiamonds.xsl"/>
   516             <arg value="${sf.common.config.dir}/tools/brag/bragForDiamonds.xsl"/>
   517             <arg value="-OUT"/>
   517             <arg value="-OUT"/>
   518             <arg value="${temp.build.dir}/bragForDiamonds.xml"/>
   518             <arg value="${temp.build.dir}/bragForDiamonds.xml"/>
   519         </java>
   519         </java>
       
   520         <!-- Make sure that the summary directory is available to display the BRAG link -->
       
   521         <mkdir  dir="${publish.dir}/summary/"/>
       
   522         <copy file="${build.log.dir}/summary/_brag.xml" toDir="${publish.dir}/summary/"/>
       
   523         <copy file="${build.log.dir}/summary/brag.xsl" toDir="${publish.dir}/summary/"/>
   520         <if>
   524         <if>
   521             <istrue value="${sf.spec.publish.enable}"/>
   525             <istrue value="${sf.spec.publish.enable}"/>
   522             <then>
   526             <then>
   523                 <!-- Try to obtain the diamonds ID for this build -->
   527                 <!-- Try to obtain the diamonds ID for this build -->
   524                 <if>
   528                 <if>
   611                     <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/>
   615                     <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/>
   612                     <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/>
   616                     <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/>
   613                 </zip>
   617                 </zip>
   614             </then>
   618             </then>
   615         </if>
   619         </if>
   616     </target>
   620      </target>
   617     
   621     
   618     <target name="sf-publish" depends="prep-publish">
   622     <target name="sf-publish" depends="prep-publish">
   619         <copy todir="${publish.dir}" preservelastmodified="true" failonerror="false">
   623         <copy todir="${publish.dir}" preservelastmodified="true" failonerror="false">
   620            <fileset dir="${build.output.dir}/zips/release/"><include name="build_*.zip"/></fileset>
   624            <fileset dir="${build.output.dir}/zips/release/"><include name="build_*.zip"/></fileset>
   621         </copy>
   625         </copy>