Upload of build info to bit db should be controlled by sf.spec.publish.enable
authorDario Sestito <darios@symbian.org>
Thu, 09 Sep 2010 13:28:40 +0100
changeset 1250 cf7f8806ba43
parent 1249 96548ab09767
child 1251 0fc9e31020ea
Upload of build info to bit db should be controlled by sf.spec.publish.enable
common/build.finalize.xml
--- 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>