--- a/common/build.finalize.xml Wed Sep 08 13:54:46 2010 +0100
+++ b/common/build.finalize.xml Thu Sep 09 13:28:40 2010 +0100
@@ -37,12 +37,14 @@
<echo message="finished	${sf.build.finishedtime}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
<!-- upload BIT info to database -->
- <exec executable="perl" dir="${sf.common.config.dir}/tools" failonerror="false">
+ <if><istrue value="${sf.spec.publish.enable}"/><then>
+ <exec executable="perl" dir="${sf.common.config.dir}/tools" failonerror="false">
<arg value="bitops.pl"/>
<arg value="-c"/>
<arg value="-f"/>
<arg value="${build.log.dir}/bitinfo.txt"/>
- </exec>
+ </exec>
+ </then></if>
</target>
</project>