common/build.postbuild.xml
changeset 625 4f9a01580199
parent 621 327e5b81f1d5
child 628 90be37e95e2f
--- a/common/build.postbuild.xml	Thu Oct 08 14:50:14 2009 +0100
+++ b/common/build.postbuild.xml	Thu Oct 08 19:19:19 2009 +0100
@@ -517,6 +517,10 @@
             <arg value="-OUT"/>
             <arg value="${temp.build.dir}/bragForDiamonds.xml"/>
         </java>
+        <!-- Make sure that the summary directory is available to display the BRAG link -->
+        <mkdir  dir="${publish.dir}/summary/"/>
+        <copy file="${build.log.dir}/summary/_brag.xml" toDir="${publish.dir}/summary/"/>
+        <copy file="${build.log.dir}/summary/brag.xsl" toDir="${publish.dir}/summary/"/>
         <if>
             <istrue value="${sf.spec.publish.enable}"/>
             <then>
@@ -613,7 +617,7 @@
                 </zip>
             </then>
         </if>
-    </target>
+     </target>
     
     <target name="sf-publish" depends="prep-publish">
         <copy todir="${publish.dir}" preservelastmodified="true" failonerror="false">