Added Static BC reports for Platform Builds
authorMaciej Seroka <maciejs@symbian.org>
Tue, 17 Nov 2009 15:10:38 +0000
changeset 773 6a54b486a5b4
parent 772 d4a7ae89c97f
child 774 5e3079346235
Added Static BC reports for Platform Builds
common/build.postbuild.xml
common/common_props.ant.xml
common/diamonds/linksForDiamonds.xml.ftl
--- a/common/build.postbuild.xml	Tue Nov 17 13:52:46 2009 +0000
+++ b/common/build.postbuild.xml	Tue Nov 17 15:10:38 2009 +0000
@@ -627,6 +627,7 @@
                 <mkdir dir="${build.output.dir}/zips/release"/> <!-- workaround for when there's no other releaseables, just the logs -->
                 <zip destfile="${build.output.dir}/zips/release/build_logs.zip" basedir="${build.drive}"> 
                     <include name="output/logs/**"/>
+					<exclude name="output/logs/BC/**"/>
                     <exclude name="output/logs/BOM/**"/>
                     <exclude name="output/logs/deliverables/**"/>
                     <exclude name="output/logs/releaseables/**"/>
@@ -653,6 +654,14 @@
         <copy todir="${publish.dir}/html" preservelastmodified="true" failonerror="false">
            <fileset dir="${build.log.dir}/html"><include name="*.html"/></fileset>
         </copy>
+		<mkdir dir="${publish.dir}/BC"/>
+        <copy todir="${publish.dir}/BC" preservelastmodified="true" failonerror="false">
+           <fileset dir="${build.log.dir}/BC/">
+		       <include name="BBCResults.xsl"/>
+			   <include name="headers_report.xml"/>
+			   <include name="libraries_report.xml"/>
+		   </fileset>
+        </copy>
     </target>
 
     <!-- TODO: Make this work for package builds once we have sysmodel story worked out -->
--- a/common/common_props.ant.xml	Tue Nov 17 13:52:46 2009 +0000
+++ b/common/common_props.ant.xml	Tue Nov 17 15:10:38 2009 +0000
@@ -104,7 +104,7 @@
     <property name="sf.spec.bccheck.enable.ha" value="true"/>
     <property name="sf.spec.bccheck.enable.dynamic" value="false"/>
     <property name="sf.spec.bccheck.baseline.name" value="symbian1"/>
-    <property name="sf.spec.bccheck.baseline.skd.dir" value="\\v800008\builds01\releases\installed\s60_5th_sdk_installed"/>
+    <property name="sf.spec.bccheck.baseline.skd.dir" value="\\v800008\builds01\installed\s60_5th_sdk_installed"/>
     <property name="sf.spec.bccheck.baseline.s60.version" value="5.0"/>
     <property name="sf.spec.bccheck.current.s60.version" value="SF2"/>
     <property name="sf.spec.bccheck.reportid" value="report"/>
--- a/common/diamonds/linksForDiamonds.xml.ftl	Tue Nov 17 13:52:46 2009 +0000
+++ b/common/diamonds/linksForDiamonds.xml.ftl	Tue Nov 17 15:10:38 2009 +0000
@@ -22,5 +22,19 @@
       <name>Build Logs</name>
       <url>file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\build_logs.zip</url>
     </file>
+	<#if ${ant['sf.spec.bccheck.enable.ha']} == "true">
+	  <file>
+        <type>log</type>
+        <name>Binary Compatibility Report (Headerfiles)</name>
+		<url>file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\BC\headers_report.xml</url>	  
+	  </file>
+	</#if>
+	<#if ${ant['sf.spec.bccheck.enable.la']} == "true">
+	  <file>
+        <type>log</type>
+        <name>Binary Compatibility Report (Libraries)</name>
+		<url>file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\BC\libraries_report.xml</url>	  
+	  </file>
+	</#if>	
    </files>
 </diamonds-build>
\ No newline at end of file