Make sure the BRAG xml and xsl files are sent to bishare in an unzipped way to allow access from link in Diamonds.
authorArnaud Lenoir
Thu, 08 Oct 2009 19:19:19 +0100
changeset 625 4f9a01580199
parent 624 5264fdaaf0c6
child 626 22bb9a334b13
Make sure the BRAG xml and xsl files are sent to bishare in an unzipped way to allow access from link in Diamonds.
common/build.postbuild.xml
--- 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">