Added sf-scrub-build, for completely freeing up the resources used by a build (ie deleting it from the HD).
Removed import of generated ant script as it had no effect, and was causing strange failures with sf-scrub-build.
+ −
<?xml version="1.0" encoding="utf-8"?>+ −
<!DOCTYPE HTML PUBLIC "-//w3c//dtd xhtml 1.0 strict//en"+ −
"http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd">+ −
<html xmlns="http://www.w3.org/1999/xhtml">+ −
+ −
+ −
<head>+ −
<meta name="keywords" content="helium"/>+ −
<meta http-equiv="content-type" content="text/html+xml; charset=iso-8859-1"/>+ −
<link rel="stylesheet" href="stylesheet.css" type="text/css" />+ −
<script type="text/javascript">+ −
var DOCUMENTATION_OPTIONS = {+ −
URL_ROOT: '',+ −
VERSION: '0'+ −
};+ −
</script>+ −
<script type="text/javascript" src="../_static/jquery.js"></script>+ −
+ −
<script type="text/javascript" src="../_static/interface.js"></script>+ −
<script type="text/javascript" src="../_static/doctools.js"></script>+ −
+ −
<title>Target sf-os-compile</title>+ −
</head>+ −
+ −
+ −
<body>+ −
<!-- ========= start of top navbar ======= -->+ −
<a name="navbar_top"><!-- --></a>+ −
<a href="#skip-navbar_top" title="skip navigation links"></a>+ −
<table border="0" width="100%" cellpadding="1" cellspacing="0" summary="">+ −
<tr>+ −
<td colspan="2" bgcolor="#eeeeff" class="navbarcell1">+ −
<a name="navbar_top_firstrow"><!-- --></a>+ −
<table border="0" cellpadding="0" cellspacing="3" summary="">+ −
<tr align="center" valign="top">+ −
<td bgcolor="#ffffff" class="navbarcell1">  <a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font> </a></td>+ −
+ −
<td bgcolor="#ffffff" class="navbarcell1"> <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a> </td>+ −
+ −
<td bgcolor="#eeeeff" class="navbarcell1"> <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a> </td> + −
<td bgcolor="#eeeeff" class="navbarcell1"> <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a> </td>+ −
<td bgcolor="#eeeeff" class="navbarcell1"> <a href="help.html"><font class="navbarfont1"><b>help</b></font></a> </td>+ −
</tr>+ −
</table>+ −
</td>+ −
<td align="right" valign="top" rowspan="3"><em>+ −
<b>Helium API</b></em>+ −
+ −
</td>+ −
</tr>+ −
+ −
<tr>+ −
<td bgcolor="white" class="navbarcell2"><font size="-2">+ −
 prev + −
 next</font></td>+ −
<td bgcolor="white" class="navbarcell2"><font size="-2">+ −
<a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>  + −
 <a href="overview-summary.html" target="_top"><b>no frames</b></a>  + −
+ −
 <script type="text/javascript">+ −
<!--+ −
if(window==top) {+ −
document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>');+ −
}+ −
//-->+ −
</script>+ −
<noscript>+ −
<a href="allclasses-noframe.html"><b>all classes</b></a>+ −
</noscript>+ −
+ −
+ −
</font></td>+ −
</tr>+ −
</table>+ −
<a name="skip-navbar_top"></a>+ −
<!-- ========= end of top navbar ========= -->+ −
<hr/>+ −
+ −
+ −
+ −
<h2>Target sf-os-compile</h2>+ −
+ −
<p><b>Location</b></p>+ −
<p> <tt class="docutils literal"><a href="/d:/maintools/sf-config/sf-platform/build.xml#L162">d:\maintools\sf-config\sf-platform\build.xml:162:</a></tt> + −
</p>+ −
+ −
<p><b>Conditional execution</b></p> + −
<p>No conditions on target execution.</p>+ −
<hr/>+ −
+ −
<h3>Description</h3>+ −
<p>+ −
<p>Name: SF-OS-COMPILE</p><p>Desc: Compile OS part of build using the spec defined in:</p>- job_props.ant.xml - job_refs.ant.xml</p>+ −
<p/>+ −
<hr/>+ −
+ −
+ −
+ −
+ −
<h3>Property dependencies</h3>+ −
+ −
+ −
<p> + −
<table class="docutils" width="50%">+ −
<tr>+ −
<th class="head">Name</th><th class="head">Edit status</th>+ −
</tr>+ −
<tr>+ −
<td colspan="2">User editable properties</td>+ −
</tr>+ −
<tr>+ −
<td colspan="2">Internal properties</td>+ −
</tr>+ −
</table>+ −
</p>+ −
+ −
<hr/>+ −
+ −
+ −
<h3>Target dependencies</h3>+ −
<p align="center">+ −
<img src="target-sf-os-compile.dot.png" alt="sf-os-compile dependencies" usemap="#dependencies"+ −
style="border-style: none"/>+ −
<map name="dependencies" id="dependencies">+ −
<area shape="rect" id="node1" href="target-sf-os-compile.html" title="sf-os-compile" alt="" coords="151,113,265,161">+ −
<area shape="rect" id="node6" href="target-sf-list-dir.html" title="sf-list-dir" alt="" coords="387,5,467,53">+ −
<area shape="rect" id="node11" href="target-sf-delta-dir.html" title="sf-delta-dir" alt="" coords="379,149,475,197">+ −
<area shape="rect" id="node21" href="target-sf-intersect-dir.html" title="sf-intersect-dir" alt="" coords="367,221,487,269">+ −
<area shape="rect" id="node2" href="target-sf-compile.html" title="sf-compile" alt="" coords="5,113,99,161">+ −
</map>+ −
</p>+ −
<hr/>+ −
+ −
+ −
<h3>Source code</h3>+ −
<pre>+ −
<target name="sf-os-compile">+ −
+ −
<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.tools2.var">+ −
<hlm:arg name="config" value="tools2_rel.whatlog"/>+ −
<hlm:arg name="singlejob" value="false"/>+ −
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>+ −
<hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}"/>+ −
</hlm:argSet>+ −
+ −
<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.tools2.clean.var">+ −
<hlm:arg name="config" value="tools2_rel.whatlog"/>+ −
<hlm:arg name="singlejob" value="false"/>+ −
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>+ −
<hlm:arg name="command" value="CLEAN --check"/>+ −
</hlm:argSet>+ −
+ −
<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.tools.var">+ −
<hlm:arg name="config" value="tools_rel.whatlog"/>+ −
<hlm:arg name="singlejob" value="true"/>+ −
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>+ −
<hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}"/>+ −
</hlm:argSet>+ −
+ −
<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.tools.clean.var">+ −
<hlm:arg name="config" value="tools_rel.whatlog"/>+ −
<hlm:arg name="singlejob" value="true"/>+ −
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>+ −
<hlm:arg name="command" value="CLEAN --check"/>+ −
</hlm:argSet>+ −
+ −
<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.main.sbs.var">+ −
<hlm:arg name="config" value="${sf.spec.sbs.config}"/>+ −
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>+ −
<hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}"/>+ −
</hlm:argSet>+ −
+ −
<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.main.clean.sbs.var">+ −
<hlm:arg name="config" value="${sf.spec.sbs.config}"/>+ −
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>+ −
<hlm:arg name="command" value="CLEAN --check"/>+ −
</hlm:argSet>+ −
+ −
<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.main.what.sbs.var">+ −
<hlm:arg name="config" value="${sf.spec.sbs.config}"/>+ −
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>+ −
<hlm:arg name="command" value="WHAT"/>+ −
</hlm:argSet>+ −
+ −
<hlm:sbsMakeOptions xmlns:hlm="http://www.nokia.com/helium" engine="gmake" id="sbs.toolsbuild.options"/>+ −
<hlm:sbsMakeOptions xmlns:hlm="http://www.nokia.com/helium" engine="gmake" id="sbs.fullbuild.options"/>+ −
+ −
<!-- generate baseline dir list to allow delta creation -->+ −
<if><isset property="sf.os.compile.fast"/>+ −
<then>+ −
<echo message="INFO [FAST COMPILE] Skipping baseline dir list generation"/>+ −
</then>+ −
<else>+ −
<antcall target="sf-list-dir" inheritAll="false">+ −
<param name="sf.list.name" value="baseline"/>+ −
</antcall>+ −
</else>+ −
</if>+ −
+ −
<!-- OS what -->+ −
<!--+ −
<antcall target="compile-main" inheritAll="false" inheritRefs="true">+ −
<param name="build.system" value="${sf.spec.build.system}" />+ −
<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}" />+ −
<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}"/>+ −
<reference refid="sbs.main.what.sbs.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>+ −
-->+ −
+ −
<!-- OS clean main build -->+ −
<if><istrue value="${sf.spec.baseline.clean}"/>+ −
<then>+ −
<antcall target="compile-main" inheritAll="false" inheritRefs="true">+ −
<param name="build.system" value="${sf.spec.build.system}"/>+ −
<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}"/>+ −
<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}"/>+ −
<reference refid="sbs.main.clean.sbs.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>+ −
</then>+ −
</if>+ −
+ −
<if><isset property="sf.os.compile.fast"/>+ −
<then>+ −
<echo message="INFO [FAST COMPILE] Skipping baseline vs post-clean delta generation"/>+ −
</then>+ −
<else>+ −
<antcall target="sf-list-dir" inheritAll="false">+ −
<param name="sf.list.name" value="post-clean"/>+ −
</antcall>+ −
<!-- what has been cleaned from baseline PDK by sos model -->+ −
<antcall target="sf-delta-dir" inheritAll="false">+ −
<param name="sf.list_a.name" value="baseline"/>+ −
<param name="sf.list_b.name" value="post-clean"/>+ −
</antcall> + −
</else>+ −
</if>+ −
+ −
<if><isset property="sf.os.compile.fast"/>+ −
<then>+ −
<echo message="INFO [FAST COMPILE] Skipping Tools/Tools2 builds"/>+ −
</then>+ −
<else>+ −
<!-- OS tools2 build first-->+ −
<antcall target="compile-main" inheritAll="false" inheritRefs="true">+ −
<param name="build.system" value="${sf.spec.build.system}"/>+ −
<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}"/>+ −
<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}"/>+ −
<reference refid="sbs.tools2.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="sf-list-dir" inheritAll="false">+ −
<param name="sf.list.name" value="post-build-tools2"/>+ −
</antcall>+ −
+ −
+ −
<!-- OS tools build after tools2 -->+ −
<antcall target="compile-main" inheritAll="false" inheritRefs="true">+ −
<param name="build.system" value="${sf.spec.build.system}"/>+ −
<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}"/>+ −
<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}"/>+ −
<reference refid="sbs.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="sf-list-dir" inheritAll="false">+ −
<param name="sf.list.name" value="post-build-tools"/>+ −
</antcall>+ −
</else>+ −
</if>+ −
<if><istrue value="${sf.os.compile.iterate}"/>+ −
<then>+ −
<for list="${sf.spec.sbs.config}" delimiter="," param="sf.spec.sbs.splitconfig">+ −
<sequential>+ −
<echo message="INFO [Iterative compile] @{sf.spec.sbs.splitconfig}"/>+ −
+ −
<hlm:argSet xmlns:hlm="http://www.nokia.com/helium" id="sbs.main.iterate.sbs.var">+ −
<hlm:arg name="config" value="@{sf.spec.sbs.splitconfig}"/>+ −
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}"/>+ −
<hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}"/>+ −
</hlm:argSet>+ −
<antcall target="compile-main" inheritAll="false" inheritRefs="true">+ −
<param name="build.system" value="${sf.spec.build.system}"/>+ −
<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}"/>+ −
<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}"/>+ −
<reference refid="sbs.main.iterate.sbs.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> + −
</sequential>+ −
</for> + −
</then>+ −
<else>+ −
<!-- OS main build -->+ −
<antcall target="compile-main" inheritAll="false" inheritRefs="true">+ −
<param name="build.system" value="${sf.spec.build.system}"/>+ −
<param name="compile.sysdef.dtd.stub" value="${sf.spec.os.sysdef.dtd}"/>+ −
<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}"/>+ −
<reference refid="sbs.main.sbs.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>+ −
</else>+ −
</if> + −
<if><isset property="sf.os.compile.fast"/>+ −
<then>+ −
<echo message="INFO [FAST COMPILE] Skipping delta and intersect list generation"/>+ −
</then>+ −
<else>+ −
<antcall target="sf-list-dir" inheritAll="false">+ −
<param name="sf.list.name" value="post-build-main"/>+ −
</antcall>+ −
+ −
<!-- what has been built in tools2+tools+main -->+ −
<antcall target="sf-delta-dir" inheritAll="false">+ −
<param name="sf.list_a.name" value="post-clean"/>+ −
<param name="sf.list_b.name" value="post-build-main"/>+ −
</antcall>+ −
+ −
<!-- what has been cleaned and rebuilt -->+ −
<antcall target="sf-intersect-dir" inheritAll="false">+ −
<param name="sf.list_a.name" value="post-clean_delta"/> <!-- clean list -->+ −
<param name="sf.list_b.name" value="post-build-main_delta"/> <!-- built list -->+ −
</antcall>+ −
+ −
<!-- what has been cleaned and not rebuilt -->+ −
</else>+ −
</if>+ −
+ −
</target>+ −
</pre>+ −
+ −
+ −
<hr/>+ −
<!-- ========= start of top navbar ======= -->+ −
<a name="navbar_top"><!-- --></a>+ −
<a href="#skip-navbar_top" title="skip navigation links"></a>+ −
<table border="0" width="100%" cellpadding="1" cellspacing="0" summary="">+ −
<tr>+ −
<td colspan="2" bgcolor="#eeeeff" class="navbarcell1">+ −
<a name="navbar_top_firstrow"><!-- --></a>+ −
<table border="0" cellpadding="0" cellspacing="3" summary="">+ −
<tr align="center" valign="top">+ −
<td bgcolor="#ffffff" class="navbarcell1">  <a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font> </a></td>+ −
+ −
<td bgcolor="#ffffff" class="navbarcell1"> <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a> </td>+ −
+ −
<td bgcolor="#eeeeff" class="navbarcell1"> <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a> </td> + −
<td bgcolor="#eeeeff" class="navbarcell1"> <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a> </td>+ −
<td bgcolor="#eeeeff" class="navbarcell1"> <a href="help.html"><font class="navbarfont1"><b>help</b></font></a> </td>+ −
</tr>+ −
</table>+ −
</td>+ −
<td align="right" valign="top" rowspan="3"><em>+ −
<b>Helium API</b></em>+ −
+ −
</td>+ −
</tr>+ −
+ −
<tr>+ −
<td bgcolor="white" class="navbarcell2"><font size="-2">+ −
 prev + −
 next</font></td>+ −
<td bgcolor="white" class="navbarcell2"><font size="-2">+ −
<a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>  + −
 <a href="overview-summary.html" target="_top"><b>no frames</b></a>  + −
+ −
 <script type="text/javascript">+ −
<!--+ −
if(window==top) {+ −
document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>');+ −
}+ −
//-->+ −
</script>+ −
<noscript>+ −
<a href="allclasses-noframe.html"><b>all classes</b></a>+ −
</noscript>+ −
+ −
+ −
</font></td>+ −
</tr>+ −
</table>+ −
<a name="skip-navbar_top"></a>+ −
<!-- ========= end of top navbar ========= -->+ −
<font size="-2">Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html</font>+ −
</body>+ −
+ −
</html>+ −
+ −
+ −