common/build.postbuild.xml
changeset 627 56a1d97e7c73
parent 600 01511de51fcd
child 628 90be37e95e2f
--- a/common/build.postbuild.xml	Tue Oct 06 17:31:14 2009 +0100
+++ b/common/build.postbuild.xml	Thu Oct 08 19:36:20 2009 +0100
@@ -36,9 +36,14 @@
             
             <!-- run build analysis tools -->
             <runtarget target="sf-run-analysis"/>
-            
-	    <!-- Generate reports to compare this build to a previous one -->
-            <runtarget target="sf-compare-to-baseline"/>
+        
+            <if>
+              <istrue value="${sf.spec.publish.enable}"/>
+              <then>
+                <!-- Generate reports to compare this build to a previous one -->
+                <runtarget target="sf-compare-to-baseline"/>
+              </then>
+            </if>
         </parallel>
         
         <!-- Launch smoketest -->