--- a/common/build.postbuild.xml Wed Sep 23 17:45:09 2009 +0100
+++ b/common/build.postbuild.xml Wed Sep 23 18:38:06 2009 +0100
@@ -276,6 +276,7 @@
<runtarget target="sf-run-analysis-raptor"/>
<runtarget target="sf-run-analysis-yarp"/>
<runtarget target="sf-run-analysis-whatlog-summary"/>
+ <runtarget target="sf-run-analysis-missing-files"/>
</parallel>
<if>
<istrue value="${sf.spec.publish.enable}"/>
@@ -550,4 +551,86 @@
</copy>
</target>
+ <!-- TODO: Make this work for package builds once we have sysmodel story worked out -->
+ <target name="sf-run-analysis-missing-files" if="sf.spec.splitbuild">
+ <!-- splitbuild is only set for Platform builds -->
+ <if><istrue value="${sf.spec.splitbuild}"/>
+ <then>
+ <if><istrue value="${sf.spec.os.skipbuild}" />
+ <then><echo message="Skipping OS file check"/></then>
+ <else><runtarget target="sf-check-missing-os-files"/></else>
+ </if>
+
+ <if><istrue value="${sf.spec.s60.skipbuild}" />
+ <then><echo message="Skipping S60 file check"/></then>
+ <else><runtarget target="sf-check-missing-s60-files"/></else>
+ </if>
+ </then>
+ <else>
+ <runtarget target="sf-check-missing-os-files"/>
+ </else>
+ </if>
+ </target>
+
+ <target name="sf-check-missing-os-files">
+ <hlm:argSet id="sbs.check.tools.var">
+ <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
+ <hlm:arg name="run-check" value="true" />
+ </hlm:argSet>
+
+ <hlm:argSet id="sbs.check.main.var">
+ <hlm:arg name="config" value="${sf.spec.sbs.config}" />
+ <hlm:arg name="run-check" value="true" />
+ </hlm:argSet>
+ <antcall target="compile-main" inheritAll="false" inheritRefs="true">
+ <param name="build.system" value="${sf.spec.build.system}" />
+ <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
+ <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
+ <param name="build.id" value ="sbs_check"/>
+ <reference refid="sbs.check.tools.var" torefid="sbs.var" />
+ <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
+ <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
+ </antcall>
+ <antcall target="compile-main" inheritAll="false" inheritRefs="true">
+ <param name="build.system" value="${sf.spec.build.system}" />
+ <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
+ <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
+ <param name="build.id" value ="sbs_check"/>
+ <reference refid="sbs.check.main.var" torefid="sbs.var" />
+ <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
+ <reference refid="sf.spec.os.system.definition.files" torefid="system.definition.files" />
+ </antcall>
+ </target>
+
+ <target name="sf-check-missing-s60-files">
+
+ <hlm:argSet id="sbs.check.tools.var">
+ <hlm:arg name="config" value="${sf.spec.sbs.tools.config}" />
+ <hlm:arg name="run-check" value="true" />
+ </hlm:argSet>
+
+ <hlm:argSet id="sbs.check.main.var">
+ <hlm:arg name="config" value="${sf.spec.sbs.config}" />
+ <hlm:arg name="run-check" value="true" />
+ </hlm:argSet>
+ <antcall target="compile-main" inheritAll="false" inheritRefs="true">
+ <param name="build.system" value="${sf.spec.build.system}" />
+ <param name="sysdef.configurations.list" value="${sf.spec.s60.sysdef.clean.configurations.list}" />
+ <param name="sf.spec.sysdef.version" value ="${sf.spec.s60.sysdef.version}"/>
+ <param name="build.id" value ="sbs_check"/>
+ <reference refid="sbs.check.tools.var" torefid="sbs.var" />
+ <reference refid="sbs.toolsbuild.options" torefid="sbs.make.options" />
+ <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
+ </antcall>
+ <antcall target="compile-main" inheritAll="false" inheritRefs="true">
+ <param name="build.system" value="${sf.spec.build.system}" />
+ <param name="sysdef.configurations.list" value="${sf.spec.os.sysdef.clean.configurations.list}" />
+ <param name="sf.spec.sysdef.version" value ="${sf.spec.os.sysdef.version}"/>
+ <param name="build.id" value ="sbs_check"/>
+ <reference refid="sbs.check.main.var" torefid="sbs.var" />
+ <reference refid="sbs.fullbuild.options" torefid="sbs.make.options" />
+ <reference refid="sf.spec.s60.system.definition.files" torefid="system.definition.files" />
+ </antcall>
+ </target>
+
</project>