--- 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 -->