common/build.postbuild.xml
changeset 640 5ad0657305e8
parent 638 84fc7d5ec18f
child 649 4468add5d834
equal deleted inserted replaced
639:9b547c4a9812 640:5ad0657305e8
   520             <arg value="-XSL"/>
   520             <arg value="-XSL"/>
   521             <arg value="${sf.common.config.dir}/tools/brag/bragForDiamonds.xsl"/>
   521             <arg value="${sf.common.config.dir}/tools/brag/bragForDiamonds.xsl"/>
   522             <arg value="-OUT"/>
   522             <arg value="-OUT"/>
   523             <arg value="${temp.build.dir}/bragForDiamonds.xml"/>
   523             <arg value="${temp.build.dir}/bragForDiamonds.xml"/>
   524         </java>
   524         </java>
   525         <!-- Make sure that the summary directory is available to display the BRAG link -->
       
   526         <mkdir  dir="${publish.dir}/summary/"/>
       
   527         <copy todir="${publish.dir}/summary/" preservelastmodified="true" failonerror="false">
       
   528            <fileset dir="${build.log.dir}/summary/"><include name="*.*"/></fileset>
       
   529         </copy>
       
   530         <if>
   525         <if>
   531             <istrue value="${sf.spec.publish.enable}"/>
   526             <istrue value="${sf.spec.publish.enable}"/>
   532             <then>
   527             <then>
       
   528                 <!-- Make sure that the summary directory is available to display the BRAG link -->
       
   529                 <mkdir  dir="${publish.dir}/summary/"/>
       
   530                 <copy todir="${publish.dir}/summary/" preservelastmodified="true" failonerror="false">
       
   531                    <fileset dir="${build.log.dir}/summary/"><include name="*.*"/></fileset>
       
   532                 </copy>
       
   533 
   533                 <!-- Try to obtain the diamonds ID for this build -->
   534                 <!-- Try to obtain the diamonds ID for this build -->
   534                 <if>
   535                 <if>
   535                     <not><isset property="diamonds.build.id"/></not>
   536                     <not><isset property="diamonds.build.id"/></not>
   536                     <then>
   537                     <then>
   537                         <property file="${build.log.dir}/diamonds_build_id.properties"/> <!-- This will fail silently -->
   538                         <property file="${build.log.dir}/diamonds_build_id.properties"/> <!-- This will fail silently -->