doc/api/python/integration.ant-pysrc.html
changeset 432 f2ddfa555b0f
equal deleted inserted replaced
431:7685cec9fd3c 432:f2ddfa555b0f
       
     1 <?xml version="1.0" encoding="ascii"?>
       
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       
     3           "DTD/xhtml1-transitional.dtd">
       
     4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       
     5 <head>
       
     6   <title>integration.ant</title>
       
     7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
       
     8   <script type="text/javascript" src="epydoc.js"></script>
       
     9 </head>
       
    10 
       
    11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
       
    12       alink="#204080">
       
    13 <!-- ==================== NAVIGATION BAR ==================== -->
       
    14 <table class="navbar" border="0" width="100%" cellpadding="0"
       
    15        bgcolor="#a0c0ff" cellspacing="0">
       
    16   <tr valign="middle">
       
    17 
       
    18   <!-- Tree link -->
       
    19       <th>&nbsp;&nbsp;&nbsp;<a
       
    20         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
    21 
       
    22   <!-- Index link -->
       
    23       <th>&nbsp;&nbsp;&nbsp;<a
       
    24         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
    25 
       
    26   <!-- Help link -->
       
    27       <th>&nbsp;&nbsp;&nbsp;<a
       
    28         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
    29 
       
    30       <th class="navbar" width="100%"></th>
       
    31   </tr>
       
    32 </table>
       
    33 <table width="100%" cellpadding="0" cellspacing="0">
       
    34   <tr valign="top">
       
    35     <td width="100%">
       
    36       <span class="breadcrumbs">
       
    37         <a href="integration-module.html">Package&nbsp;integration</a> ::
       
    38         Module&nbsp;ant
       
    39       </span>
       
    40     </td>
       
    41     <td>
       
    42       <table cellpadding="0" cellspacing="0">
       
    43         <!-- hide/show private -->
       
    44         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
       
    45     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
       
    46         <tr><td align="right"><span class="options"
       
    47             >[<a href="frames.html" target="_top">frames</a
       
    48             >]&nbsp;|&nbsp;<a href="integration.ant-pysrc.html"
       
    49             target="_top">no&nbsp;frames</a>]</span></td></tr>
       
    50       </table>
       
    51     </td>
       
    52   </tr>
       
    53 </table>
       
    54 <h1 class="epydoc">Source Code for <a href="integration.ant-module.html">Module integration.ant</a></h1>
       
    55 <pre class="py-src">
       
    56 <a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-comment">#============================================================================ </tt> </tt>
       
    57 <a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Name        : ant.py </tt> </tt>
       
    58 <a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Part of     : Helium </tt> </tt>
       
    59 <a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
       
    60 <a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-comment">#Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).</tt> </tt>
       
    61 <a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#All rights reserved.</tt> </tt>
       
    62 <a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#This component and the accompanying materials are made available</tt> </tt>
       
    63 <a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#under the terms of the License "Eclipse Public License v1.0"</tt> </tt>
       
    64 <a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#which accompanies this distribution, and is available</tt> </tt>
       
    65 <a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#at the URL "http://www.eclipse.org/legal/epl-v10.html".</tt> </tt>
       
    66 <a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
       
    67 <a name="L12"></a><tt class="py-lineno">12</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Initial Contributors:</tt> </tt>
       
    68 <a name="L13"></a><tt class="py-lineno">13</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Nokia Corporation - initial contribution.</tt> </tt>
       
    69 <a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
       
    70 <a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Contributors:</tt> </tt>
       
    71 <a name="L16"></a><tt class="py-lineno">16</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
       
    72 <a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Description:</tt> </tt>
       
    73 <a name="L18"></a><tt class="py-lineno">18</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#===============================================================================</tt> </tt>
       
    74 <a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
       
    75 <a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line"><tt class="py-docstring">""" Quality Ant task implementation. """</tt> </tt>
       
    76 <a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Package integration=integration-module.html"><a title="integration" class="py-name" href="#" onclick="return doclink('link-0', 'integration', 'link-0');">integration</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Module integration.quality=integration.quality-module.html"><a title="integration.quality" class="py-name" href="#" onclick="return doclink('link-1', 'quality', 'link-1');">quality</a></tt> </tt>
       
    77 <a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
       
    78 <a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">traceback</tt> </tt>
       
    79 <a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line"> </tt>
       
    80 <a name="check_build_duplicates_task"></a><div id="check_build_duplicates_task-def"><a name="L25"></a><tt class="py-lineno">25</tt> <a class="py-toggle" href="#" id="check_build_duplicates_task-toggle" onclick="return toggle('check_build_duplicates_task');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="integration.ant-module.html#check_build_duplicates_task">check_build_duplicates_task</a><tt class="py-op">(</tt><tt class="py-param">project</tt><tt class="py-op">,</tt> <tt class="py-param">task</tt><tt class="py-op">,</tt> <tt class="py-param">attributes</tt><tt class="py-op">,</tt> <tt class="py-param">elements</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
       
    81 </div><div id="check_build_duplicates_task-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="check_build_duplicates_task-expanded"><a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line">    <tt class="py-docstring">""" This is the implementation of the checkBuildDuplicatesMacro Ant task."""</tt> </tt>
       
    82 <a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line">    <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
       
    83 <a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">attributes</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Method ccm.extra.CachedSessionProvider.get()=ccm.extra.CachedSessionProvider-class.html#get,Method ccm.extra.SessionProvider.get()=ccm.extra.SessionProvider-class.html#get,Method configuration.Configuration.get()=configuration.Configuration-class.html#get"><a title="ccm.extra.CachedSessionProvider.get
       
    84 ccm.extra.SessionProvider.get
       
    85 configuration.Configuration.get" class="py-name" href="#" onclick="return doclink('link-2', 'get', 'link-2');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'output'</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
       
    86 <a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt class="py-name">Exception</tt><tt class="py-op">(</tt><tt class="py-string">"'output' attribute is not defined."</tt><tt class="py-op">)</tt> </tt>
       
    87 <a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line">        <tt id="link-3" class="py-name" targets="Variable ccm.Result.output=ccm.Result-class.html#output,Package helium.output=helium.output-module.html"><a title="ccm.Result.output
       
    88 helium.output" class="py-name" href="#" onclick="return doclink('link-3', 'output', 'link-3');">output</a></tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">attributes</tt><tt class="py-op">.</tt><tt id="link-4" class="py-name"><a title="ccm.extra.CachedSessionProvider.get
       
    89 ccm.extra.SessionProvider.get
       
    90 configuration.Configuration.get" class="py-name" href="#" onclick="return doclink('link-4', 'get', 'link-2');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'output'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
       
    91 <a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line">        <tt id="link-5" class="py-name" targets="Method build.io.AbldLogWhatReader.task()=build.io.AbldLogWhatReader-class.html#task,Method integration.quality.AbldWhatParser.task()=integration.quality.AbldWhatParser-class.html#task,Method integration.quality.InternalExportParser.task()=integration.quality.InternalExportParser-class.html#task,Method symbian.log.Parser.task()=symbian.log.Parser-class.html#task"><a title="build.io.AbldLogWhatReader.task
       
    92 integration.quality.AbldWhatParser.task
       
    93 integration.quality.InternalExportParser.task
       
    94 symbian.log.Parser.task" class="py-name" href="#" onclick="return doclink('link-5', 'task', 'link-5');">task</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Method configuration_model.Item.log()=configuration_model.Item-class.html#log,Module symbian.log=symbian.log-module.html"><a title="configuration_model.Item.log
       
    95 symbian.log" class="py-name" href="#" onclick="return doclink('link-6', 'log', 'link-6');">log</a></tt><tt class="py-op">(</tt><tt class="py-string">"Creating %s"</tt> <tt class="py-op">%</tt> <tt id="link-7" class="py-name"><a title="ccm.Result.output
       
    96 helium.output" class="py-name" href="#" onclick="return doclink('link-7', 'output', 'link-3');">output</a></tt><tt class="py-op">)</tt> </tt>
       
    97 <a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line">        <tt id="link-8" class="py-name"><a title="ccm.Result.output
       
    98 helium.output" class="py-name" href="#" onclick="return doclink('link-8', 'output', 'link-3');">output</a></tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt id="link-9" class="py-name"><a title="ccm.Result.output
       
    99 helium.output" class="py-name" href="#" onclick="return doclink('link-9', 'output', 'link-3');">output</a></tt><tt class="py-op">,</tt> <tt class="py-string">"w+"</tt><tt class="py-op">)</tt> </tt>
       
   100 <a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line">        <tt id="link-10" class="py-name"><a title="ccm.Result.output
       
   101 helium.output" class="py-name" href="#" onclick="return doclink('link-10', 'output', 'link-3');">output</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method archive.builders.ArchivePreBuilder.write()=archive.builders.ArchivePreBuilder-class.html#write,Method build.model.BOMDeltaXMLWriter.write()=build.model.BOMDeltaXMLWriter-class.html#write,Method build.model.BOMXMLWriter.write()=build.model.BOMXMLWriter-class.html#write,Method buildtools.AbstractOutputWriter.write()=buildtools.AbstractOutputWriter-class.html#write,Method buildtools.AntWriter.write()=buildtools.AntWriter-class.html#write,Method buildtools.EBSWriter.write()=buildtools.EBSWriter-class.html#write,Method buildtools.MakeWriter.write()=buildtools.MakeWriter-class.html#write,Method buildtools.StringWriter.write()=buildtools.StringWriter-class.html#write,Method flash_config.FlashConfigurationWriter.write()=flash_config.FlashConfigurationWriter-class.html#write,Method helium.documentation.APIDeltaWriter.write()=helium.documentation.APIDeltaWriter-class.html#write,Method sis.SisPreBuilder.write()=sis.SisPreBuilder-class.html#write,Method sysdef.io.FlashImageSizeWriter.write()=sysdef.io.FlashImageSizeWriter-class.html#write,Method sysdef.io.MakeWriter.write()=sysdef.io.MakeWriter-class.html#write,Method sysdef.io.MakeWriter2.write()=sysdef.io.MakeWriter2-class.html#write,Method sysdef.io.MakeWriter3.write()=sysdef.io.MakeWriter3-class.html#write,Method version.Version.write()=version.Version-class.html#write"><a title="archive.builders.ArchivePreBuilder.write
       
   102 build.model.BOMDeltaXMLWriter.write
       
   103 build.model.BOMXMLWriter.write
       
   104 buildtools.AbstractOutputWriter.write
       
   105 buildtools.AntWriter.write
       
   106 buildtools.EBSWriter.write
       
   107 buildtools.MakeWriter.write
       
   108 buildtools.StringWriter.write
       
   109 flash_config.FlashConfigurationWriter.write
       
   110 helium.documentation.APIDeltaWriter.write
       
   111 sis.SisPreBuilder.write
       
   112 sysdef.io.FlashImageSizeWriter.write
       
   113 sysdef.io.MakeWriter.write
       
   114 sysdef.io.MakeWriter2.write
       
   115 sysdef.io.MakeWriter3.write
       
   116 version.Version.write" class="py-name" href="#" onclick="return doclink('link-11', 'write', 'link-11');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">"&lt;?xml version=\"1.0\"?&gt;\n&lt;buildconflicts&gt;\n"</tt><tt class="py-op">)</tt> </tt>
       
   117 <a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line">        <tt class="py-name">components_per_file</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
       
   118 <a name="L35"></a><tt class="py-lineno">35</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">eid</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">elements</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name"><a title="ccm.extra.CachedSessionProvider.get
       
   119 ccm.extra.SessionProvider.get
       
   120 configuration.Configuration.get" class="py-name" href="#" onclick="return doclink('link-12', 'get', 'link-2');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">"fileset"</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Variable ccm.SessionPool.size=ccm.SessionPool-class.html#size"><a title="ccm.SessionPool.size" class="py-name" href="#" onclick="return doclink('link-13', 'size', 'link-13');">size</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
       
   121 <a name="L36"></a><tt class="py-lineno">36</tt>  <tt class="py-line">            <tt class="py-name">dirscanner</tt> <tt class="py-op">=</tt> <tt class="py-name">elements</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="ccm.extra.CachedSessionProvider.get
       
   122 ccm.extra.SessionProvider.get
       
   123 configuration.Configuration.get" class="py-name" href="#" onclick="return doclink('link-14', 'get', 'link-2');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">"fileset"</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name"><a title="ccm.extra.CachedSessionProvider.get
       
   124 ccm.extra.SessionProvider.get
       
   125 configuration.Configuration.get" class="py-name" href="#" onclick="return doclink('link-15', 'get', 'link-2');">get</a></tt><tt class="py-op">(</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">eid</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">getDirectoryScanner</tt><tt class="py-op">(</tt><tt id="link-16" class="py-name" targets="Method ccm.ProjectCheckoutResult.project()=ccm.ProjectCheckoutResult-class.html#project"><a title="ccm.ProjectCheckoutResult.project" class="py-name" href="#" onclick="return doclink('link-16', 'project', 'link-16');">project</a></tt><tt class="py-op">)</tt> </tt>
       
   126 <a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line">            <tt class="py-name">dirscanner</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name" targets="Method archive.scanners.AbldWhatScanner.scan()=archive.scanners.AbldWhatScanner-class.html#scan,Method archive.scanners.FileSystemScanner.scan()=archive.scanners.FileSystemScanner-class.html#scan,Method archive.scanners.InputFileScanner.scan()=archive.scanners.InputFileScanner-class.html#scan,Method archive.scanners.Scanner.scan()=archive.scanners.Scanner-class.html#scan,Method comments.CommentParser.scan()=comments.CommentParser-class.html#scan,Method fileutils.AbstractScanner.scan()=fileutils.AbstractScanner-class.html#scan,Method fileutils.FileScanner.scan()=fileutils.FileScanner-class.html#scan,Method imaker.api.IMakerConfigScanner.scan()=imaker.api.IMakerConfigScanner-class.html#scan"><a title="archive.scanners.AbldWhatScanner.scan
       
   127 archive.scanners.FileSystemScanner.scan
       
   128 archive.scanners.InputFileScanner.scan
       
   129 archive.scanners.Scanner.scan
       
   130 comments.CommentParser.scan
       
   131 fileutils.AbstractScanner.scan
       
   132 fileutils.FileScanner.scan
       
   133 imaker.api.IMakerConfigScanner.scan" class="py-name" href="#" onclick="return doclink('link-17', 'scan', 'link-17');">scan</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
       
   134 <a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">jfilename</tt> <tt class="py-keyword">in</tt> <tt class="py-name">dirscanner</tt><tt class="py-op">.</tt><tt class="py-name">getIncludedFiles</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
       
   135 <a name="L39"></a><tt class="py-lineno">39</tt>  <tt class="py-line">                <tt id="link-18" class="py-name" targets="Variable symrec.ReleaseMetadata.filename=symrec.ReleaseMetadata-class.html#filename"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-18', 'filename', 'link-18');">filename</a></tt> <tt class="py-op">=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">jfilename</tt><tt class="py-op">)</tt> </tt>
       
   136 <a name="L40"></a><tt class="py-lineno">40</tt>  <tt class="py-line">                <tt id="link-19" class="py-name"><a title="build.io.AbldLogWhatReader.task
       
   137 integration.quality.AbldWhatParser.task
       
   138 integration.quality.InternalExportParser.task
       
   139 symbian.log.Parser.task" class="py-name" href="#" onclick="return doclink('link-19', 'task', 'link-5');">task</a></tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="configuration_model.Item.log
       
   140 symbian.log" class="py-name" href="#" onclick="return doclink('link-20', 'log', 'link-6');">log</a></tt><tt class="py-op">(</tt><tt class="py-string">"Parsing %s"</tt> <tt class="py-op">%</tt> <tt id="link-21" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-21', 'filename', 'link-18');">filename</a></tt><tt class="py-op">)</tt> </tt>
       
   141 <a name="L41"></a><tt class="py-lineno">41</tt>  <tt class="py-line">                <tt id="link-22" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-22', 'filename', 'link-18');">filename</a></tt> <tt class="py-op">=</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name" targets="Method buildtools.Command.path()=buildtools.Command-class.html#path,Method sysdef.api.SpecialInstruction.path()=sysdef.api.SpecialInstruction-class.html#path,Method sysdef.api.Unit.path()=sysdef.api.Unit-class.html#path"><a title="buildtools.Command.path
       
   142 sysdef.api.SpecialInstruction.path
       
   143 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-23', 'path', 'link-23');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">dirscanner</tt><tt class="py-op">.</tt><tt class="py-name">getBasedir</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt id="link-24" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-24', 'filename', 'link-18');">filename</a></tt><tt class="py-op">)</tt> </tt>
       
   144 <a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line">                <tt class="py-name">parser</tt> <tt class="py-op">=</tt> <tt id="link-25" class="py-name"><a title="integration" class="py-name" href="#" onclick="return doclink('link-25', 'integration', 'link-0');">integration</a></tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="integration.quality" class="py-name" href="#" onclick="return doclink('link-26', 'quality', 'link-1');">quality</a></tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Class integration.quality.AbldWhatParser=integration.quality.AbldWhatParser-class.html"><a title="integration.quality.AbldWhatParser" class="py-name" href="#" onclick="return doclink('link-27', 'AbldWhatParser', 'link-27');">AbldWhatParser</a></tt><tt class="py-op">(</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt id="link-28" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-28', 'filename', 'link-18');">filename</a></tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
       
   145 <a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line">                <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt class="py-name">components_per_file</tt> <tt class="py-op">=</tt> <tt class="py-name">components_per_file</tt> </tt>
       
   146 <a name="L44"></a><tt class="py-lineno">44</tt>  <tt class="py-line">                <tt class="py-name">parser</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name" targets="Method bsf.BSF.parse()=bsf.BSF-class.html#parse,Method symbian.log.Parser.parse()=symbian.log.Parser-class.html#parse"><a title="bsf.BSF.parse
       
   147 symbian.log.Parser.parse" class="py-name" href="#" onclick="return doclink('link-29', 'parse', 'link-29');">parse</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
       
   148 <a name="L45"></a><tt class="py-lineno">45</tt>  <tt class="py-line">             </tt>
       
   149 <a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-30" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-30', 'filename', 'link-18');">filename</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">components_per_file</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name" targets="Method ccm.CCMObject.keys()=ccm.CCMObject-class.html#keys,Method configuration.Configuration.keys()=configuration.Configuration-class.html#keys,Method configuration.NestedConfiguration.keys()=configuration.NestedConfiguration-class.html#keys,Method symrec.ReleaseMetadata.keys()=symrec.ReleaseMetadata-class.html#keys"><a title="ccm.CCMObject.keys
       
   150 configuration.Configuration.keys
       
   151 configuration.NestedConfiguration.keys
       
   152 symrec.ReleaseMetadata.keys" class="py-name" href="#" onclick="return doclink('link-31', 'keys', 'link-31');">keys</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
       
   153 <a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">components_per_file</tt><tt class="py-op">[</tt><tt id="link-32" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-32', 'filename', 'link-18');">filename</a></tt><tt class="py-op">]</tt><tt class="py-op">)</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
       
   154 <a name="L48"></a><tt class="py-lineno">48</tt>  <tt class="py-line">                <tt id="link-33" class="py-name"><a title="ccm.Result.output
       
   155 helium.output" class="py-name" href="#" onclick="return doclink('link-33', 'output', 'link-3');">output</a></tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="archive.builders.ArchivePreBuilder.write
       
   156 build.model.BOMDeltaXMLWriter.write
       
   157 build.model.BOMXMLWriter.write
       
   158 buildtools.AbstractOutputWriter.write
       
   159 buildtools.AntWriter.write
       
   160 buildtools.EBSWriter.write
       
   161 buildtools.MakeWriter.write
       
   162 buildtools.StringWriter.write
       
   163 flash_config.FlashConfigurationWriter.write
       
   164 helium.documentation.APIDeltaWriter.write
       
   165 sis.SisPreBuilder.write
       
   166 sysdef.io.FlashImageSizeWriter.write
       
   167 sysdef.io.MakeWriter.write
       
   168 sysdef.io.MakeWriter2.write
       
   169 sysdef.io.MakeWriter3.write
       
   170 version.Version.write" class="py-name" href="#" onclick="return doclink('link-34', 'write', 'link-11');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">"    &lt;file name=\"%s\"&gt;\n"</tt> <tt class="py-op">%</tt> <tt id="link-35" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-35', 'filename', 'link-18');">filename</a></tt><tt class="py-op">)</tt> </tt>
       
   171 <a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line">                <tt id="link-36" class="py-name"><a title="ccm.Result.output
       
   172 helium.output" class="py-name" href="#" onclick="return doclink('link-36', 'output', 'link-3');">output</a></tt><tt class="py-op">.</tt><tt id="link-37" class="py-name"><a title="archive.builders.ArchivePreBuilder.write
       
   173 build.model.BOMDeltaXMLWriter.write
       
   174 build.model.BOMXMLWriter.write
       
   175 buildtools.AbstractOutputWriter.write
       
   176 buildtools.AntWriter.write
       
   177 buildtools.EBSWriter.write
       
   178 buildtools.MakeWriter.write
       
   179 buildtools.StringWriter.write
       
   180 flash_config.FlashConfigurationWriter.write
       
   181 helium.documentation.APIDeltaWriter.write
       
   182 sis.SisPreBuilder.write
       
   183 sysdef.io.FlashImageSizeWriter.write
       
   184 sysdef.io.MakeWriter.write
       
   185 sysdef.io.MakeWriter2.write
       
   186 sysdef.io.MakeWriter3.write
       
   187 version.Version.write" class="py-name" href="#" onclick="return doclink('link-37', 'write', 'link-11');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">map</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">x</tt><tt class="py-op">:</tt> <tt class="py-string">"        &lt;component name=\"%s\"/&gt;\n"</tt> <tt class="py-op">%</tt> <tt class="py-name">x</tt><tt class="py-op">,</tt> <tt class="py-name">components_per_file</tt><tt class="py-op">[</tt><tt id="link-38" class="py-name"><a title="symrec.ReleaseMetadata.filename" class="py-name" href="#" onclick="return doclink('link-38', 'filename', 'link-18');">filename</a></tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
       
   188 <a name="L50"></a><tt class="py-lineno">50</tt>  <tt class="py-line">                <tt id="link-39" class="py-name"><a title="ccm.Result.output
       
   189 helium.output" class="py-name" href="#" onclick="return doclink('link-39', 'output', 'link-3');">output</a></tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="archive.builders.ArchivePreBuilder.write
       
   190 build.model.BOMDeltaXMLWriter.write
       
   191 build.model.BOMXMLWriter.write
       
   192 buildtools.AbstractOutputWriter.write
       
   193 buildtools.AntWriter.write
       
   194 buildtools.EBSWriter.write
       
   195 buildtools.MakeWriter.write
       
   196 buildtools.StringWriter.write
       
   197 flash_config.FlashConfigurationWriter.write
       
   198 helium.documentation.APIDeltaWriter.write
       
   199 sis.SisPreBuilder.write
       
   200 sysdef.io.FlashImageSizeWriter.write
       
   201 sysdef.io.MakeWriter.write
       
   202 sysdef.io.MakeWriter2.write
       
   203 sysdef.io.MakeWriter3.write
       
   204 version.Version.write" class="py-name" href="#" onclick="return doclink('link-40', 'write', 'link-11');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">"    &lt;/file&gt;\n"</tt><tt class="py-op">)</tt> </tt>
       
   205 <a name="L51"></a><tt class="py-lineno">51</tt>  <tt class="py-line">        <tt id="link-41" class="py-name"><a title="ccm.Result.output
       
   206 helium.output" class="py-name" href="#" onclick="return doclink('link-41', 'output', 'link-3');">output</a></tt><tt class="py-op">.</tt><tt id="link-42" class="py-name"><a title="archive.builders.ArchivePreBuilder.write
       
   207 build.model.BOMDeltaXMLWriter.write
       
   208 build.model.BOMXMLWriter.write
       
   209 buildtools.AbstractOutputWriter.write
       
   210 buildtools.AntWriter.write
       
   211 buildtools.EBSWriter.write
       
   212 buildtools.MakeWriter.write
       
   213 buildtools.StringWriter.write
       
   214 flash_config.FlashConfigurationWriter.write
       
   215 helium.documentation.APIDeltaWriter.write
       
   216 sis.SisPreBuilder.write
       
   217 sysdef.io.FlashImageSizeWriter.write
       
   218 sysdef.io.MakeWriter.write
       
   219 sysdef.io.MakeWriter2.write
       
   220 sysdef.io.MakeWriter3.write
       
   221 version.Version.write" class="py-name" href="#" onclick="return doclink('link-42', 'write', 'link-11');">write</a></tt><tt class="py-op">(</tt><tt class="py-string">"&lt;/buildconflicts&gt;\n"</tt><tt class="py-op">)</tt> </tt>
       
   222 <a name="L52"></a><tt class="py-lineno">52</tt>  <tt class="py-line">        <tt id="link-43" class="py-name"><a title="ccm.Result.output
       
   223 helium.output" class="py-name" href="#" onclick="return doclink('link-43', 'output', 'link-3');">output</a></tt><tt class="py-op">.</tt><tt id="link-44" class="py-name" targets="Method build.model.BOM.close()=build.model.BOM-class.html#close,Method build.model.SessionCreator.close()=build.model.SessionCreator-class.html#close,Method buildtools.AbstractOutputWriter.close()=buildtools.AbstractOutputWriter-class.html#close,Method ccm.AbstractSession.close()=ccm.AbstractSession-class.html#close,Method ccm.Session.close()=ccm.Session-class.html#close,Method ccm.SessionPool.close()=ccm.SessionPool-class.html#close,Method ccm.extra.CachedSessionProvider.close()=ccm.extra.CachedSessionProvider-class.html#close,Method ccm.extra.SessionProvider.close()=ccm.extra.SessionProvider-class.html#close,Method log2xml.LogWriter.close()=log2xml.LogWriter-class.html#close,Method preparation.PreparationBuilder.close()=preparation.PreparationBuilder-class.html#close,Method sysdef.io.FlashImageSizeWriter.close()=sysdef.io.FlashImageSizeWriter-class.html#close"><a title="build.model.BOM.close
       
   224 build.model.SessionCreator.close
       
   225 buildtools.AbstractOutputWriter.close
       
   226 ccm.AbstractSession.close
       
   227 ccm.Session.close
       
   228 ccm.SessionPool.close
       
   229 ccm.extra.CachedSessionProvider.close
       
   230 ccm.extra.SessionProvider.close
       
   231 log2xml.LogWriter.close
       
   232 preparation.PreparationBuilder.close
       
   233 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-44', 'close', 'link-44');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
       
   234 <a name="L53"></a><tt class="py-lineno">53</tt>  <tt class="py-line">    <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">exc</tt><tt class="py-op">:</tt> </tt>
       
   235 <a name="L54"></a><tt class="py-lineno">54</tt>  <tt class="py-line">        <tt id="link-45" class="py-name"><a title="build.io.AbldLogWhatReader.task
       
   236 integration.quality.AbldWhatParser.task
       
   237 integration.quality.InternalExportParser.task
       
   238 symbian.log.Parser.task" class="py-name" href="#" onclick="return doclink('link-45', 'task', 'link-5');">task</a></tt><tt class="py-op">.</tt><tt id="link-46" class="py-name"><a title="configuration_model.Item.log
       
   239 symbian.log" class="py-name" href="#" onclick="return doclink('link-46', 'log', 'link-6');">log</a></tt><tt class="py-op">(</tt><tt class="py-string">'ERROR: %s'</tt> <tt class="py-op">%</tt> <tt class="py-name">exc</tt><tt class="py-op">)</tt> </tt>
       
   240 <a name="L55"></a><tt class="py-lineno">55</tt>  <tt class="py-line">        <tt class="py-name">traceback</tt><tt class="py-op">.</tt><tt class="py-name">print_exc</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
       
   241 <a name="L56"></a><tt class="py-lineno">56</tt>  <tt class="py-line">        <tt class="py-keyword">raise</tt> <tt class="py-name">exc</tt> </tt>
       
   242 </div><a name="L57"></a><tt class="py-lineno">57</tt>  <tt class="py-line"> </tt><script type="text/javascript">
       
   243 <!--
       
   244 expandto(location.href);
       
   245 // -->
       
   246 </script>
       
   247 </pre>
       
   248 <br />
       
   249 <!-- ==================== NAVIGATION BAR ==================== -->
       
   250 <table class="navbar" border="0" width="100%" cellpadding="0"
       
   251        bgcolor="#a0c0ff" cellspacing="0">
       
   252   <tr valign="middle">
       
   253 
       
   254   <!-- Tree link -->
       
   255       <th>&nbsp;&nbsp;&nbsp;<a
       
   256         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
   257 
       
   258   <!-- Index link -->
       
   259       <th>&nbsp;&nbsp;&nbsp;<a
       
   260         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
   261 
       
   262   <!-- Help link -->
       
   263       <th>&nbsp;&nbsp;&nbsp;<a
       
   264         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
   265 
       
   266       <th class="navbar" width="100%"></th>
       
   267   </tr>
       
   268 </table>
       
   269 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
       
   270   <tr>
       
   271     <td align="left" class="footer">
       
   272     Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:25 2009
       
   273     </td>
       
   274     <td align="right" class="footer">
       
   275       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
       
   276     </td>
       
   277   </tr>
       
   278 </table>
       
   279 
       
   280 <script type="text/javascript">
       
   281   <!--
       
   282   // Private objects are initially displayed (because if
       
   283   // javascript is turned off then we want them to be
       
   284   // visible); but by default, we want to hide them.  So hide
       
   285   // them unless we have a cookie that says to show them.
       
   286   checkCookie()
       
   287   // -->
       
   288 </script>
       
   289   
       
   290 </body>
       
   291 </html>