common/build.finalize.xml
changeset 1250 cf7f8806ba43
parent 1249 96548ab09767
--- 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&#x0009;${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>