common/build.postbuild.xml
changeset 640 5ad0657305e8
parent 638 84fc7d5ec18f
child 649 4468add5d834
--- a/common/build.postbuild.xml	Mon Oct 12 10:42:19 2009 +0100
+++ b/common/build.postbuild.xml	Mon Oct 12 10:59:47 2009 +0100
@@ -522,14 +522,15 @@
             <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 todir="${publish.dir}/summary/" preservelastmodified="true" failonerror="false">
-           <fileset dir="${build.log.dir}/summary/"><include name="*.*"/></fileset>
-        </copy>
         <if>
             <istrue value="${sf.spec.publish.enable}"/>
             <then>
+                <!-- Make sure that the summary directory is available to display the BRAG link -->
+                <mkdir  dir="${publish.dir}/summary/"/>
+                <copy todir="${publish.dir}/summary/" preservelastmodified="true" failonerror="false">
+                   <fileset dir="${build.log.dir}/summary/"><include name="*.*"/></fileset>
+                </copy>
+
                 <!-- Try to obtain the diamonds ID for this build -->
                 <if>
                     <not><isset property="diamonds.build.id"/></not>