doc/api/python/integration.templatebuilder-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.templatebuilder</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;templatebuilder
       
    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.templatebuilder-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.templatebuilder-module.html">Module integration.templatebuilder</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        : templatebuilder.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">""" The template builder. """</tt> </tt>
       
    76 <a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
       
    77 <a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line"> </tt>
       
    78 <a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line"><tt class="py-comment"># Uncomment this line to enable logging in this module, or configure logging elsewhere</tt> </tt>
       
    79 <a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#logging.basicConfig(level=logging.INFO)</tt> </tt>
       
    80 <a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt id="link-0" class="py-name" targets="Variable archive.scanners.logger=archive.scanners-module.html#logger,Variable archive.selectors.logger=archive.selectors-module.html#logger,Variable buildmanagement.logger=buildmanagement-module.html#logger,Variable flash_config.logger=flash_config-module.html#logger,Module helium.logger=helium.logger-module.html,Variable imaker.iqrf.logger=imaker.iqrf-module.html#logger,Variable integration.templatebuilder.logger=integration.templatebuilder-module.html#logger,Variable rom.logger=rom-module.html#logger"><a title="archive.scanners.logger
       
    81 archive.selectors.logger
       
    82 buildmanagement.logger
       
    83 flash_config.logger
       
    84 helium.logger
       
    85 imaker.iqrf.logger
       
    86 integration.templatebuilder.logger
       
    87 rom.logger" class="py-name" href="#" onclick="return doclink('link-0', 'logger', 'link-0');">logger</a></tt> <tt class="py-op">=</tt> <tt class="py-name">logging</tt><tt class="py-op">.</tt><tt class="py-name">getLogger</tt><tt class="py-op">(</tt><tt class="py-string">'integration.templatebuilder'</tt><tt class="py-op">)</tt> </tt>
       
    88 <a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line"> </tt>
       
    89 <a name="TemplateBuilder"></a><div id="TemplateBuilder-def"><a name="L27"></a><tt class="py-lineno">27</tt> <a class="py-toggle" href="#" id="TemplateBuilder-toggle" onclick="return toggle('TemplateBuilder');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="integration.templatebuilder.TemplateBuilder-class.html">TemplateBuilder</a><tt class="py-op">:</tt> </tt>
       
    90 </div><div id="TemplateBuilder-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="TemplateBuilder-expanded"><a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line">    <tt class="py-docstring">""" This class implements a template builder.</tt> </tt>
       
    91 <a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
       
    92 <a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line">     </tt>
       
    93 <a name="TemplateBuilder.__init__"></a><div id="TemplateBuilder.__init__-def"><a name="L31"></a><tt class="py-lineno">31</tt> <a class="py-toggle" href="#" id="TemplateBuilder.__init__-toggle" onclick="return toggle('TemplateBuilder.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="integration.templatebuilder.TemplateBuilder-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">,</tt> <tt class="py-param">product</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
       
    94 </div><div id="TemplateBuilder.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="TemplateBuilder.__init__-expanded"><a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_config</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt> </tt>
       
    95 <a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_product</tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name" targets="Variable symrec.ReleaseMetadata.product=symrec.ReleaseMetadata-class.html#product"><a title="symrec.ReleaseMetadata.product" class="py-name" href="#" onclick="return doclink('link-1', 'product', 'link-1');">product</a></tt> </tt>
       
    96 </div><a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line">         </tt>
       
    97 <a name="TemplateBuilder.build"></a><div id="TemplateBuilder.build-def"><a name="L35"></a><tt class="py-lineno">35</tt> <a class="py-toggle" href="#" id="TemplateBuilder.build-toggle" onclick="return toggle('TemplateBuilder.build');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="integration.templatebuilder.TemplateBuilder-class.html#build">build</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
       
    98 </div><div id="TemplateBuilder.build-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="TemplateBuilder.build-expanded"><a name="L36"></a><tt class="py-lineno">36</tt>  <tt class="py-line">        <tt class="py-docstring">""" Render all the templates for the current product. """</tt> </tt>
       
    99 <a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">config</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_config</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Method configuration.ConfigurationSet.getConfigurations()=configuration.ConfigurationSet-class.html#getConfigurations,Method configuration.NestedConfigurationBuilder.getConfigurations()=configuration.NestedConfigurationBuilder-class.html#getConfigurations"><a title="configuration.ConfigurationSet.getConfigurations
       
   100 configuration.NestedConfigurationBuilder.getConfigurations" class="py-name" href="#" onclick="return doclink('link-2', 'getConfigurations', 'link-2');">getConfigurations</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_product</tt><tt class="py-op">,</tt> <tt class="py-string">'TemplateBuilder'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
       
   101 <a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-3" class="py-name" targets="Method integration.templatebuilder.TemplateBuilder._build_config()=integration.templatebuilder.TemplateBuilder-class.html#_build_config"><a title="integration.templatebuilder.TemplateBuilder._build_config" class="py-name" href="#" onclick="return doclink('link-3', '_build_config', 'link-3');">_build_config</a></tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">)</tt> </tt>
       
   102 </div><a name="L39"></a><tt class="py-lineno">39</tt>  <tt class="py-line"> </tt>
       
   103 <a name="TemplateBuilder.__read_template"></a><div id="TemplateBuilder.__read_template-def"><a name="L40"></a><tt class="py-lineno">40</tt> <a class="py-toggle" href="#" id="TemplateBuilder.__read_template-toggle" onclick="return toggle('TemplateBuilder.__read_template');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="integration.templatebuilder.TemplateBuilder-class.html#__read_template">__read_template</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
       
   104 </div><div id="TemplateBuilder.__read_template-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="TemplateBuilder.__read_template-expanded"><a name="L41"></a><tt class="py-lineno">41</tt>  <tt class="py-line">        <tt class="py-docstring">""" Read the whole file content.</tt> </tt>
       
   105 <a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
       
   106 <a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line">        <tt id="link-4" class="py-name"><a title="archive.scanners.logger
       
   107 archive.selectors.logger
       
   108 buildmanagement.logger
       
   109 flash_config.logger
       
   110 helium.logger
       
   111 imaker.iqrf.logger
       
   112 integration.templatebuilder.logger
       
   113 rom.logger" class="py-name" href="#" onclick="return doclink('link-4', 'logger', 'link-0');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">"Using template '%s'..."</tt> <tt class="py-op">%</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'template.file'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
       
   114 <a name="L44"></a><tt class="py-lineno">44</tt>  <tt class="py-line">        <tt class="py-name">ftr</tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'template.file'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-string">"r"</tt><tt class="py-op">)</tt> </tt>
       
   115 <a name="L45"></a><tt class="py-lineno">45</tt>  <tt class="py-line">        <tt id="link-5" class="py-name" targets="Method ccm.File.content()=ccm.File-class.html#content"><a title="ccm.File.content" class="py-name" href="#" onclick="return doclink('link-5', 'content', 'link-5');">content</a></tt> <tt class="py-op">=</tt> <tt class="py-name">ftr</tt><tt class="py-op">.</tt><tt class="py-name">read</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
       
   116 <a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">        <tt class="py-name">ftr</tt><tt class="py-op">.</tt><tt id="link-6" 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
       
   117 build.model.SessionCreator.close
       
   118 buildtools.AbstractOutputWriter.close
       
   119 ccm.AbstractSession.close
       
   120 ccm.Session.close
       
   121 ccm.SessionPool.close
       
   122 ccm.extra.CachedSessionProvider.close
       
   123 ccm.extra.SessionProvider.close
       
   124 log2xml.LogWriter.close
       
   125 preparation.PreparationBuilder.close
       
   126 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-6', 'close', 'link-6');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
       
   127 <a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-7" class="py-name"><a title="ccm.File.content" class="py-name" href="#" onclick="return doclink('link-7', 'content', 'link-5');">content</a></tt> </tt>
       
   128 </div><a name="L48"></a><tt class="py-lineno">48</tt>  <tt class="py-line"> </tt>
       
   129 <a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line">             </tt>
       
   130 <a name="TemplateBuilder._build_config"></a><div id="TemplateBuilder._build_config-def"><a name="L50"></a><tt class="py-lineno">50</tt> <a class="py-toggle" href="#" id="TemplateBuilder._build_config-toggle" onclick="return toggle('TemplateBuilder._build_config');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="integration.templatebuilder.TemplateBuilder-class.html#_build_config">_build_config</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
       
   131 </div><div id="TemplateBuilder._build_config-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="TemplateBuilder._build_config-expanded"><a name="L51"></a><tt class="py-lineno">51</tt>  <tt class="py-line">        <tt class="py-docstring">""" Open config and render the template. """</tt> </tt>
       
   132 <a name="L52"></a><tt class="py-lineno">52</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name" targets="Method buildtools.Command.name()=buildtools.Command-class.html#name,Method ccm.FourPartName.name()=ccm.FourPartName-class.html#name,Method symrec.ServicePack.name()=symrec.ServicePack-class.html#name,Method sysdef.api.Configuration.name()=sysdef.api.Configuration-class.html#name,Method sysdef.api.Option.name()=sysdef.api.Option-class.html#name,Method sysdef.api.SpecialInstruction.name()=sysdef.api.SpecialInstruction-class.html#name,Method sysdef.api.Target.name()=sysdef.api.Target-class.html#name,Method sysdef.api.TargetList.name()=sysdef.api.TargetList-class.html#name,Method sysdef.api.Unit.name()=sysdef.api.Unit-class.html#name,Method sysdef.api._UnitGroup.name()=sysdef.api._UnitGroup-class.html#name"><a title="buildtools.Command.name
       
   133 ccm.FourPartName.name
       
   134 symrec.ServicePack.name
       
   135 sysdef.api.Configuration.name
       
   136 sysdef.api.Option.name
       
   137 sysdef.api.SpecialInstruction.name
       
   138 sysdef.api.Target.name
       
   139 sysdef.api.TargetList.name
       
   140 sysdef.api.Unit.name
       
   141 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-8', 'name', 'link-8');">name</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
       
   142 <a name="L53"></a><tt class="py-lineno">53</tt>  <tt class="py-line">            <tt id="link-9" class="py-name"><a title="archive.scanners.logger
       
   143 archive.selectors.logger
       
   144 buildmanagement.logger
       
   145 flash_config.logger
       
   146 helium.logger
       
   147 imaker.iqrf.logger
       
   148 integration.templatebuilder.logger
       
   149 rom.logger" class="py-name" href="#" onclick="return doclink('link-9', 'logger', 'link-0');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">"Building config '%s'..."</tt> <tt class="py-op">%</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="buildtools.Command.name
       
   150 ccm.FourPartName.name
       
   151 symrec.ServicePack.name
       
   152 sysdef.api.Configuration.name
       
   153 sysdef.api.Option.name
       
   154 sysdef.api.SpecialInstruction.name
       
   155 sysdef.api.Target.name
       
   156 sysdef.api.TargetList.name
       
   157 sysdef.api.Unit.name
       
   158 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-10', 'name', 'link-8');">name</a></tt><tt class="py-op">)</tt> </tt>
       
   159 <a name="L54"></a><tt class="py-lineno">54</tt>  <tt class="py-line">        <tt id="link-11" class="py-name"><a title="archive.scanners.logger
       
   160 archive.selectors.logger
       
   161 buildmanagement.logger
       
   162 flash_config.logger
       
   163 helium.logger
       
   164 imaker.iqrf.logger
       
   165 integration.templatebuilder.logger
       
   166 rom.logger" class="py-name" href="#" onclick="return doclink('link-11', 'logger', 'link-0');">logger</a></tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">(</tt><tt class="py-string">"Creating file '%s'..."</tt> <tt class="py-op">%</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'output.file'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
       
   167 <a name="L55"></a><tt class="py-lineno">55</tt>  <tt class="py-line">        <tt id="link-12" 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
       
   168 helium.output" class="py-name" href="#" onclick="return doclink('link-12', 'output', 'link-12');">output</a></tt> <tt class="py-op">=</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'output.file'</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-string">'w+'</tt><tt class="py-op">)</tt>         </tt>
       
   169 <a name="L56"></a><tt class="py-lineno">56</tt>  <tt class="py-line">        <tt id="link-13" class="py-name"><a title="ccm.Result.output
       
   170 helium.output" class="py-name" href="#" onclick="return doclink('link-13', 'output', 'link-12');">output</a></tt><tt class="py-op">.</tt><tt id="link-14" 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
       
   171 build.model.BOMDeltaXMLWriter.write
       
   172 build.model.BOMXMLWriter.write
       
   173 buildtools.AbstractOutputWriter.write
       
   174 buildtools.AntWriter.write
       
   175 buildtools.EBSWriter.write
       
   176 buildtools.MakeWriter.write
       
   177 buildtools.StringWriter.write
       
   178 flash_config.FlashConfigurationWriter.write
       
   179 helium.documentation.APIDeltaWriter.write
       
   180 sis.SisPreBuilder.write
       
   181 sysdef.io.FlashImageSizeWriter.write
       
   182 sysdef.io.MakeWriter.write
       
   183 sysdef.io.MakeWriter2.write
       
   184 sysdef.io.MakeWriter3.write
       
   185 version.Version.write" class="py-name" href="#" onclick="return doclink('link-14', 'write', 'link-14');">write</a></tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Method configuration.Configuration.interpolate()=configuration.Configuration-class.html#interpolate"><a title="configuration.Configuration.interpolate" class="py-name" href="#" onclick="return doclink('link-15', 'interpolate', 'link-15');">interpolate</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Method integration.templatebuilder.TemplateBuilder.__read_template()=integration.templatebuilder.TemplateBuilder-class.html#__read_template"><a title="integration.templatebuilder.TemplateBuilder.__read_template" class="py-name" href="#" onclick="return doclink('link-16', '__read_template', 'link-16');">__read_template</a></tt><tt class="py-op">(</tt><tt class="py-name">config</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
       
   186 <a name="L57"></a><tt class="py-lineno">57</tt>  <tt class="py-line">        <tt id="link-17" class="py-name"><a title="ccm.Result.output
       
   187 helium.output" class="py-name" href="#" onclick="return doclink('link-17', 'output', 'link-12');">output</a></tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="build.model.BOM.close
       
   188 build.model.SessionCreator.close
       
   189 buildtools.AbstractOutputWriter.close
       
   190 ccm.AbstractSession.close
       
   191 ccm.Session.close
       
   192 ccm.SessionPool.close
       
   193 ccm.extra.CachedSessionProvider.close
       
   194 ccm.extra.SessionProvider.close
       
   195 log2xml.LogWriter.close
       
   196 preparation.PreparationBuilder.close
       
   197 sysdef.io.FlashImageSizeWriter.close" class="py-name" href="#" onclick="return doclink('link-18', 'close', 'link-6');">close</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
       
   198 </div></div><a name="L58"></a><tt class="py-lineno">58</tt>  <tt class="py-line"> </tt><script type="text/javascript">
       
   199 <!--
       
   200 expandto(location.href);
       
   201 // -->
       
   202 </script>
       
   203 </pre>
       
   204 <br />
       
   205 <!-- ==================== NAVIGATION BAR ==================== -->
       
   206 <table class="navbar" border="0" width="100%" cellpadding="0"
       
   207        bgcolor="#a0c0ff" cellspacing="0">
       
   208   <tr valign="middle">
       
   209 
       
   210   <!-- Tree link -->
       
   211       <th>&nbsp;&nbsp;&nbsp;<a
       
   212         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
   213 
       
   214   <!-- Index link -->
       
   215       <th>&nbsp;&nbsp;&nbsp;<a
       
   216         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
   217 
       
   218   <!-- Help link -->
       
   219       <th>&nbsp;&nbsp;&nbsp;<a
       
   220         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
   221 
       
   222       <th class="navbar" width="100%"></th>
       
   223   </tr>
       
   224 </table>
       
   225 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
       
   226   <tr>
       
   227     <td align="left" class="footer">
       
   228     Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:21 2009
       
   229     </td>
       
   230     <td align="right" class="footer">
       
   231       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
       
   232     </td>
       
   233   </tr>
       
   234 </table>
       
   235 
       
   236 <script type="text/javascript">
       
   237   <!--
       
   238   // Private objects are initially displayed (because if
       
   239   // javascript is turned off then we want them to be
       
   240   // visible); but by default, we want to hide them.  So hide
       
   241   // them unless we have a cookie that says to show them.
       
   242   checkCookie()
       
   243   // -->
       
   244 </script>
       
   245   
       
   246 </body>
       
   247 </html>