|
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>vbaconf</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> <a |
|
20 href="module-tree.html">Trees</a> </th> |
|
21 |
|
22 <!-- Index link --> |
|
23 <th> <a |
|
24 href="identifier-index.html">Indices</a> </th> |
|
25 |
|
26 <!-- Help link --> |
|
27 <th> <a |
|
28 href="help.html">Help</a> </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 Package vbaconf |
|
38 </span> |
|
39 </td> |
|
40 <td> |
|
41 <table cellpadding="0" cellspacing="0"> |
|
42 <!-- hide/show private --> |
|
43 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
|
44 onclick="toggle_private();">hide private</a>]</span></td></tr> |
|
45 <tr><td align="right"><span class="options" |
|
46 >[<a href="frames.html" target="_top">frames</a |
|
47 >] | <a href="vbaconf-pysrc.html" |
|
48 target="_top">no frames</a>]</span></td></tr> |
|
49 </table> |
|
50 </td> |
|
51 </tr> |
|
52 </table> |
|
53 <h1 class="epydoc">Source Code for <a href="vbaconf-module.html">Package vbaconf</a></h1> |
|
54 <pre class="py-src"> |
|
55 <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment">#============================================================================ </tt> </tt> |
|
56 <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#Name : __init__.py </tt> </tt> |
|
57 <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> |
|
58 <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> |
|
59 <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> |
|
60 <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> |
|
61 <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> |
|
62 <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> |
|
63 <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> |
|
64 <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> |
|
65 <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> |
|
66 <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> |
|
67 <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> |
|
68 <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> |
|
69 <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> |
|
70 <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> |
|
71 <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> |
|
72 <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> |
|
73 <a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-comment"></tt> </tt> |
|
74 <a name="L20"></a><tt class="py-lineno"> 20</tt> <tt class="py-line"><tt class="py-docstring">""" Helper to convert delivery.xml and prep.xml to VirtualBuildArea</tt> </tt> |
|
75 <a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"><tt class="py-docstring"> configuration file.</tt> </tt> |
|
76 <a name="L22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"><tt class="py-docstring">"""</tt> </tt> |
|
77 <a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Method symrec.MetadataMerger.xml()=symrec.MetadataMerger-class.html#xml,Method symrec.ReleaseMetadata.xml()=symrec.ReleaseMetadata-class.html#xml"><a title="symrec.MetadataMerger.xml |
|
78 symrec.ReleaseMetadata.xml" class="py-name" href="#" onclick="return doclink('link-0', 'xml', 'link-0');">xml</a></tt><tt class="py-op">.</tt><tt class="py-name">dom</tt><tt class="py-op">.</tt><tt class="py-name">minidom</tt> <tt class="py-keyword">import</tt> <tt class="py-name">getDOMImplementation</tt> </tt> |
|
79 <a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">amara</tt> </tt> |
|
80 <a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Package ccm=ccm-module.html"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-1', 'ccm', 'link-1');">ccm</a></tt> </tt> |
|
81 <a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">re</tt> </tt> |
|
82 <a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-2" 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 |
|
83 sysdef.api.SpecialInstruction.path |
|
84 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-2', 'path', 'link-2');">path</a></tt> </tt> |
|
85 <a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt> |
|
86 <a name="L29"></a><tt class="py-lineno"> 29</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Module configuration=configuration-module.html"><a title="configuration" class="py-name" href="#" onclick="return doclink('link-3', 'configuration', 'link-3');">configuration</a></tt> </tt> |
|
87 <a name="L30"></a><tt class="py-lineno"> 30</tt> <tt class="py-line"> </tt> |
|
88 <a name="cleanup_path"></a><div id="cleanup_path-def"><a name="L31"></a><tt class="py-lineno"> 31</tt> <a class="py-toggle" href="#" id="cleanup_path-toggle" onclick="return toggle('cleanup_path');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf-module.html#cleanup_path">cleanup_path</a><tt class="py-op">(</tt><tt class="py-param">path</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
89 </div><div id="cleanup_path-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="cleanup_path-expanded"><a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line"> <tt class="py-docstring">""" Returns path without any sequence of '/' and replacing '\' by '/' """</tt> </tt> |
|
90 <a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">sub</tt><tt class="py-op">(</tt><tt class="py-string">r'/+'</tt><tt class="py-op">,</tt> <tt class="py-string">'/'</tt><tt class="py-op">,</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">sub</tt><tt class="py-op">(</tt><tt class="py-string">r'\\'</tt><tt class="py-op">,</tt> <tt class="py-string">'/'</tt><tt class="py-op">,</tt> <tt id="link-4" class="py-name"><a title="buildtools.Command.path |
|
91 sysdef.api.SpecialInstruction.path |
|
92 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-4', 'path', 'link-2');">path</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
93 </div><a name="L34"></a><tt class="py-lineno"> 34</tt> <tt class="py-line"> </tt> |
|
94 <a name="generate_config"></a><div id="generate_config-def"><a name="L35"></a><tt class="py-lineno"> 35</tt> <a class="py-toggle" href="#" id="generate_config-toggle" onclick="return toggle('generate_config');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf-module.html#generate_config">generate_config</a><tt class="py-op">(</tt><tt class="py-param">deliveryinput</tt><tt class="py-op">,</tt> <tt class="py-param">prepinput</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
95 </div><div id="generate_config-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="generate_config-expanded"><a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"> <tt class="py-docstring">""" deliveryinput: path to delivery conf file (old format).</tt> </tt> |
|
96 <a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"><tt class="py-docstring"> prepinput: path to the prep conf file.</tt> </tt> |
|
97 <a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line"><tt class="py-docstring"> Return XML Document object.</tt> </tt> |
|
98 <a name="L39"></a><tt class="py-lineno"> 39</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> |
|
99 <a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"> <tt class="py-name">impl</tt> <tt class="py-op">=</tt> <tt class="py-name">getDOMImplementation</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
100 <a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> <tt class="py-name">doc</tt> <tt class="py-op">=</tt> <tt class="py-name">getDOMImplementation</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">createDocument</tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"virtualBuildArea"</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt> |
|
101 <a name="L42"></a><tt class="py-lineno"> 42</tt> <tt class="py-line"> <tt class="py-name">vba</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">getElementsByTagName</tt><tt class="py-op">(</tt><tt class="py-string">"virtualBuildArea"</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> |
|
102 <a name="L43"></a><tt class="py-lineno"> 43</tt> <tt class="py-line"> </tt> |
|
103 <a name="L44"></a><tt class="py-lineno"> 44</tt> <tt class="py-line"> <tt class="py-comment"># Loading delivery content</tt> </tt> |
|
104 <a name="L45"></a><tt class="py-lineno"> 45</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">delivery</tt> <tt class="py-op">=</tt> <tt class="py-name">amara</tt><tt class="py-op">.</tt><tt id="link-5" 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 |
|
105 symbian.log.Parser.parse" class="py-name" href="#" onclick="return doclink('link-5', 'parse', 'link-5');">parse</a></tt><tt class="py-op">(</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">deliveryinput</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
106 <a name="L46"></a><tt class="py-lineno"> 46</tt> <tt class="py-line"> <tt class="py-comment"># loading prep file</tt> </tt> |
|
107 <a name="L47"></a><tt class="py-lineno"> 47</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">prep</tt> <tt class="py-op">=</tt> <tt class="py-name">amara</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="bsf.BSF.parse |
|
108 symbian.log.Parser.parse" class="py-name" href="#" onclick="return doclink('link-6', 'parse', 'link-5');">parse</a></tt><tt class="py-op">(</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">prepinput</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
109 <a name="L48"></a><tt class="py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-comment"># analysing preparation creation</tt> </tt> |
|
110 <a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">for</tt> <tt class="py-name">source</tt> <tt class="py-keyword">in</tt> <tt class="py-name">prep</tt><tt class="py-op">.</tt><tt class="py-name">xml_xpath</tt><tt class="py-op">(</tt><tt class="py-string">'/prepSpec/source'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
111 <a name="L50"></a><tt class="py-lineno"> 50</tt> <tt class="py-line"> <tt class="py-name">basedir</tt> <tt class="py-op">=</tt> <tt id="link-7" class="py-name" targets="Function vbaconf.cleanup_path()=vbaconf-module.html#cleanup_path,Function vbaconf.new_delivery.cleanup_path()=vbaconf.new_delivery-module.html#cleanup_path"><a title="vbaconf.cleanup_path |
|
112 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-7', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">source</tt><tt class="py-op">.</tt><tt class="py-name">basedir</tt><tt class="py-op">)</tt> </tt> |
|
113 <a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-8" class="py-name" targets="Method ccm.Folder.copy()=ccm.Folder-class.html#copy"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-8', 'copy', 'link-8');">copy</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">source</tt><tt class="py-op">.</tt><tt class="py-name">xml_xpath</tt><tt class="py-op">(</tt><tt class="py-string">'./copy'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
114 <a name="L52"></a><tt class="py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-name">src</tt> <tt class="py-op">=</tt> <tt id="link-9" class="py-name"><a title="vbaconf.cleanup_path |
|
115 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-9', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt id="link-10" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-10', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt id="link-11" 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 |
|
116 ccm.FourPartName.name |
|
117 symrec.ServicePack.name |
|
118 sysdef.api.Configuration.name |
|
119 sysdef.api.Option.name |
|
120 sysdef.api.SpecialInstruction.name |
|
121 sysdef.api.Target.name |
|
122 sysdef.api.TargetList.name |
|
123 sysdef.api.Unit.name |
|
124 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-11', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt> </tt> |
|
125 <a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">p</tt> <tt class="py-keyword">in</tt> <tt class="py-name">delivery</tt><tt class="py-op">.</tt><tt class="py-name">xml_xpath</tt><tt class="py-op">(</tt><tt class="py-string">'/deliveryConfiguration/*'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
126 <a name="L54"></a><tt class="py-lineno"> 54</tt> <tt class="py-line"> <tt class="py-name">ccmp</tt> <tt class="py-op">=</tt> <tt id="link-12" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-12', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Class ccm.FourPartName=ccm.FourPartName-class.html"><a title="ccm.FourPartName" class="py-name" href="#" onclick="return doclink('link-13', 'FourPartName', 'link-13');">FourPartName</a></tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">.</tt><tt id="link-14" 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-14', 'project', 'link-14');">project</a></tt><tt class="py-op">)</tt> </tt> |
|
127 <a name="L55"></a><tt class="py-lineno"> 55</tt> <tt class="py-line"> <tt class="py-name">p_dir</tt> <tt class="py-op">=</tt> <tt id="link-15" class="py-name"><a title="vbaconf.cleanup_path |
|
128 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-15', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">.</tt><tt class="py-name">dir</tt><tt class="py-op">)</tt> </tt> |
|
129 <a name="L56"></a><tt class="py-lineno"> 56</tt> <tt class="py-line"> <tt class="py-comment">#print "ccmp: %s" % ccmp</tt> </tt> |
|
130 <a name="L57"></a><tt class="py-lineno"> 57</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment">#print "pdir: %s" % p_dir</tt> </tt> |
|
131 <a name="L58"></a><tt class="py-lineno"> 58</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># looking for project_name/project_name pattern, and if dest doesn't exist</tt> </tt> |
|
132 <a name="L59"></a><tt class="py-lineno"> 59</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">re</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Method fileutils.AbstractScanner.match()=fileutils.AbstractScanner-class.html#match,Module pathaddition.match=pathaddition.match-module.html"><a title="fileutils.AbstractScanner.match |
|
133 pathaddition.match" class="py-name" href="#" onclick="return doclink('link-16', 'match', 'link-16');">match</a></tt><tt class="py-op">(</tt><tt class="py-string">r"%s/%s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="buildtools.Command.name |
|
134 ccm.FourPartName.name |
|
135 symrec.ServicePack.name |
|
136 sysdef.api.Configuration.name |
|
137 sysdef.api.Option.name |
|
138 sysdef.api.SpecialInstruction.name |
|
139 sysdef.api.Target.name |
|
140 sysdef.api.TargetList.name |
|
141 sysdef.api.Unit.name |
|
142 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-17', 'name', 'link-11');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="buildtools.Command.name |
|
143 ccm.FourPartName.name |
|
144 symrec.ServicePack.name |
|
145 sysdef.api.Configuration.name |
|
146 sysdef.api.Option.name |
|
147 sysdef.api.SpecialInstruction.name |
|
148 sysdef.api.Target.name |
|
149 sysdef.api.TargetList.name |
|
150 sysdef.api.Unit.name |
|
151 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-18', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">src</tt><tt class="py-op">,</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">I</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-19" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-19', 'copy', 'link-8');">copy</a></tt><tt class="py-op">,</tt> <tt class="py-string">'dest'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
152 <a name="L60"></a><tt class="py-lineno"> 60</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-string">"All object from root."</tt> </tt> |
|
153 <a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
154 <a name="L62"></a><tt class="py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
155 <a name="L63"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
156 <a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-name">objs</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"objects"</tt><tt class="py-op">)</tt> </tt> |
|
157 <a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> <tt class="py-name">objs</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"from"</tt><tt class="py-op">,</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="buildtools.Command.name |
|
158 ccm.FourPartName.name |
|
159 symrec.ServicePack.name |
|
160 sysdef.api.Configuration.name |
|
161 sysdef.api.Option.name |
|
162 sysdef.api.SpecialInstruction.name |
|
163 sysdef.api.Target.name |
|
164 sysdef.api.TargetList.name |
|
165 sysdef.api.Unit.name |
|
166 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-20', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt> </tt> |
|
167 <a name="L66"></a><tt class="py-lineno"> 66</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">objs</tt><tt class="py-op">)</tt> </tt> |
|
168 <a name="L67"></a><tt class="py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-comment"># looking for project_name/project_name pattern, and if dest exists</tt> </tt> |
|
169 <a name="L68"></a><tt class="py-lineno"> 68</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">elif</tt> <tt class="py-op">(</tt><tt class="py-name">re</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="fileutils.AbstractScanner.match |
|
170 pathaddition.match" class="py-name" href="#" onclick="return doclink('link-21', 'match', 'link-16');">match</a></tt><tt class="py-op">(</tt><tt class="py-string">r"%s/%s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name"><a title="buildtools.Command.name |
|
171 ccm.FourPartName.name |
|
172 symrec.ServicePack.name |
|
173 sysdef.api.Configuration.name |
|
174 sysdef.api.Option.name |
|
175 sysdef.api.SpecialInstruction.name |
|
176 sysdef.api.Target.name |
|
177 sysdef.api.TargetList.name |
|
178 sysdef.api.Unit.name |
|
179 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-22', 'name', 'link-11');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="buildtools.Command.name |
|
180 ccm.FourPartName.name |
|
181 symrec.ServicePack.name |
|
182 sysdef.api.Configuration.name |
|
183 sysdef.api.Option.name |
|
184 sysdef.api.SpecialInstruction.name |
|
185 sysdef.api.Target.name |
|
186 sysdef.api.TargetList.name |
|
187 sysdef.api.Unit.name |
|
188 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-23', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">src</tt><tt class="py-op">,</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">I</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-24" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-24', 'copy', 'link-8');">copy</a></tt><tt class="py-op">,</tt> <tt class="py-string">'dest'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
189 <a name="L69"></a><tt class="py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name"><a title="buildtools.Command.path |
|
190 sysdef.api.SpecialInstruction.path |
|
191 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-25', 'path', 'link-2');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">basename</tt><tt class="py-op">(</tt><tt id="link-26" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-26', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="buildtools.Command.name |
|
192 ccm.FourPartName.name |
|
193 symrec.ServicePack.name |
|
194 sysdef.api.Configuration.name |
|
195 sysdef.api.Option.name |
|
196 sysdef.api.SpecialInstruction.name |
|
197 sysdef.api.Target.name |
|
198 sysdef.api.TargetList.name |
|
199 sysdef.api.Unit.name |
|
200 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-27', 'name', 'link-11');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
201 <a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
202 <a name="L71"></a><tt class="py-lineno"> 71</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
203 <a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-28" class="py-name"><a title="vbaconf.cleanup_path |
|
204 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-28', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name"><a title="buildtools.Command.path |
|
205 sysdef.api.SpecialInstruction.path |
|
206 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-29', 'path', 'link-2');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">dirname</tt><tt class="py-op">(</tt><tt id="link-30" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-30', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
207 <a name="L73"></a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
208 <a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
209 <a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
210 <a name="L76"></a><tt class="py-lineno"> 76</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
211 <a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-31" class="py-name"><a title="vbaconf.cleanup_path |
|
212 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-31', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt id="link-32" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-32', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
213 <a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
214 <a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> <tt class="py-comment"># for directory copy</tt> </tt> |
|
215 <a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">elif</tt> <tt id="link-33" class="py-name"><a title="vbaconf.cleanup_path |
|
216 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-33', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">basedir</tt> <tt class="py-op">+</tt> <tt class="py-string">"/"</tt> <tt class="py-op">+</tt> <tt class="py-name">src</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">p_dir</tt><tt class="py-op">:</tt> </tt> |
|
217 <a name="L81"></a><tt class="py-lineno"> 81</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-string">"Adding to subdirectory"</tt> </tt> |
|
218 <a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="buildtools.Command.name |
|
219 ccm.FourPartName.name |
|
220 symrec.ServicePack.name |
|
221 sysdef.api.Configuration.name |
|
222 sysdef.api.Option.name |
|
223 sysdef.api.SpecialInstruction.name |
|
224 sysdef.api.Target.name |
|
225 sysdef.api.TargetList.name |
|
226 sysdef.api.Unit.name |
|
227 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-34', 'name', 'link-11');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">basedir</tt> <tt class="py-op">+</tt> <tt class="py-string">"/"</tt> <tt class="py-op">+</tt> <tt class="py-name">src</tt><tt class="py-op">,</tt> <tt class="py-name">p_dir</tt> </tt> |
|
228 <a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
229 <a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
230 <a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-35" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-35', 'copy', 'link-8');">copy</a></tt><tt class="py-op">,</tt> <tt class="py-string">'dest'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
231 <a name="L86"></a><tt class="py-lineno"> 86</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-36" class="py-name"><a title="vbaconf.cleanup_path |
|
232 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-36', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt id="link-37" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-37', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name"><a title="buildtools.Command.name |
|
233 ccm.FourPartName.name |
|
234 symrec.ServicePack.name |
|
235 sysdef.api.Configuration.name |
|
236 sysdef.api.Option.name |
|
237 sysdef.api.SpecialInstruction.name |
|
238 sysdef.api.Target.name |
|
239 sysdef.api.TargetList.name |
|
240 sysdef.api.Unit.name |
|
241 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-38', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
242 <a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
243 <a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-39" class="py-name"><a title="vbaconf.cleanup_path |
|
244 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-39', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt><tt class="py-op">+</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="buildtools.Command.name |
|
245 ccm.FourPartName.name |
|
246 symrec.ServicePack.name |
|
247 sysdef.api.Configuration.name |
|
248 sysdef.api.Option.name |
|
249 sysdef.api.SpecialInstruction.name |
|
250 sysdef.api.Target.name |
|
251 sysdef.api.TargetList.name |
|
252 sysdef.api.Unit.name |
|
253 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-40', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
254 <a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
255 <a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">p_dir</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt id="link-41" class="py-name"><a title="vbaconf.cleanup_path |
|
256 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-41', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">basedir</tt> <tt class="py-op">+</tt> <tt class="py-string">"/"</tt> <tt class="py-op">+</tt> <tt class="py-name">src</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
257 <a name="L91"></a><tt class="py-lineno"> 91</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-string">"Adding to subdirectory"</tt> </tt> |
|
258 <a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt class="py-name">delta</tt> <tt class="py-op">=</tt> <tt class="py-name">p_dir</tt><tt class="py-op">[</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-42" class="py-name"><a title="vbaconf.cleanup_path |
|
259 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-42', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">basedir</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt><tt class="py-op">]</tt> </tt> |
|
260 <a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
261 <a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
262 <a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-43" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-43', 'copy', 'link-8');">copy</a></tt><tt class="py-op">,</tt> <tt class="py-string">'dest'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
263 <a name="L96"></a><tt class="py-lineno"> 96</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-44" class="py-name"><a title="vbaconf.cleanup_path |
|
264 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-44', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name"><a title="buildtools.Command.path |
|
265 sysdef.api.SpecialInstruction.path |
|
266 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-45', 'path', 'link-2');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">dirname</tt><tt class="py-op">(</tt><tt id="link-46" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-46', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">delta</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name"><a title="buildtools.Command.name |
|
267 ccm.FourPartName.name |
|
268 symrec.ServicePack.name |
|
269 sysdef.api.Configuration.name |
|
270 sysdef.api.Option.name |
|
271 sysdef.api.SpecialInstruction.name |
|
272 sysdef.api.Target.name |
|
273 sysdef.api.TargetList.name |
|
274 sysdef.api.Unit.name |
|
275 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-47', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
276 <a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
277 <a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-48" class="py-name"><a title="vbaconf.cleanup_path |
|
278 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-48', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">delta</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-49" class="py-name"><a title="buildtools.Command.name |
|
279 ccm.FourPartName.name |
|
280 symrec.ServicePack.name |
|
281 sysdef.api.Configuration.name |
|
282 sysdef.api.Option.name |
|
283 sysdef.api.SpecialInstruction.name |
|
284 sysdef.api.Target.name |
|
285 sysdef.api.TargetList.name |
|
286 sysdef.api.Unit.name |
|
287 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-49', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
288 <a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
289 <a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">doc</tt> </tt> |
|
290 </div><a name="L101"></a><tt class="py-lineno">101</tt> <tt class="py-line"> </tt> |
|
291 <a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> </tt> |
|
292 <a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> </tt> |
|
293 <a name="AbstractConfigConverter"></a><div id="AbstractConfigConverter-def"><a name="L104"></a><tt class="py-lineno">104</tt> <a class="py-toggle" href="#" id="AbstractConfigConverter-toggle" onclick="return toggle('AbstractConfigConverter');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="vbaconf.AbstractConfigConverter-class.html">AbstractConfigConverter</a><tt class="py-op">:</tt> </tt> |
|
294 </div><div id="AbstractConfigConverter-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="AbstractConfigConverter-expanded"><a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line"> </tt> |
|
295 <a name="AbstractConfigConverter.__init__"></a><div id="AbstractConfigConverter.__init__-def"><a name="L106"></a><tt class="py-lineno">106</tt> <a class="py-toggle" href="#" id="AbstractConfigConverter.__init__-toggle" onclick="return toggle('AbstractConfigConverter.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf.AbstractConfigConverter-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
296 </div><div id="AbstractConfigConverter.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AbstractConfigConverter.__init__-expanded"><a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt class="py-keyword">pass</tt> </tt> |
|
297 </div><a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> </tt> |
|
298 <a name="AbstractConfigConverter._get_projects_configs"></a><div id="AbstractConfigConverter._get_projects_configs-def"><a name="L109"></a><tt class="py-lineno">109</tt> <a class="py-toggle" href="#" id="AbstractConfigConverter._get_projects_configs-toggle" onclick="return toggle('AbstractConfigConverter._get_projects_configs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf.AbstractConfigConverter-class.html#_get_projects_configs">_get_projects_configs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
299 </div><div id="AbstractConfigConverter._get_projects_configs-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AbstractConfigConverter._get_projects_configs-expanded"><a name="L110"></a><tt class="py-lineno">110</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">"Todo: not implemented."</tt><tt class="py-op">)</tt> </tt> |
|
300 </div><a name="L111"></a><tt class="py-lineno">111</tt> <tt class="py-line"> </tt> |
|
301 <a name="AbstractConfigConverter._get_prep_configs"></a><div id="AbstractConfigConverter._get_prep_configs-def"><a name="L112"></a><tt class="py-lineno">112</tt> <a class="py-toggle" href="#" id="AbstractConfigConverter._get_prep_configs-toggle" onclick="return toggle('AbstractConfigConverter._get_prep_configs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf.AbstractConfigConverter-class.html#_get_prep_configs">_get_prep_configs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
302 </div><div id="AbstractConfigConverter._get_prep_configs-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AbstractConfigConverter._get_prep_configs-expanded"><a name="L113"></a><tt class="py-lineno">113</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">"Todo: not implemented."</tt><tt class="py-op">)</tt> </tt> |
|
303 </div><a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> </tt> |
|
304 <a name="AbstractConfigConverter.generate_config"></a><div id="AbstractConfigConverter.generate_config-def"><a name="L115"></a><tt class="py-lineno">115</tt> <a class="py-toggle" href="#" id="AbstractConfigConverter.generate_config-toggle" onclick="return toggle('AbstractConfigConverter.generate_config');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf.AbstractConfigConverter-class.html#generate_config">generate_config</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
305 </div><div id="AbstractConfigConverter.generate_config-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="AbstractConfigConverter.generate_config-expanded"><a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> <tt class="py-docstring">""" deliveryinput: path to delivery conf file (old format).</tt> </tt> |
|
306 <a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"><tt class="py-docstring"> prepinput: path to the prep conf file.</tt> </tt> |
|
307 <a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"><tt class="py-docstring"> Return XML Document object.</tt> </tt> |
|
308 <a name="L119"></a><tt class="py-lineno">119</tt> <tt class="py-line"><tt class="py-docstring"> """</tt> </tt> |
|
309 <a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> <tt class="py-name">impl</tt> <tt class="py-op">=</tt> <tt class="py-name">getDOMImplementation</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
310 <a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> <tt class="py-name">doc</tt> <tt class="py-op">=</tt> <tt class="py-name">getDOMImplementation</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">createDocument</tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-string">"virtualBuildArea"</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt> |
|
311 <a name="L122"></a><tt class="py-lineno">122</tt> <tt class="py-line"> <tt class="py-name">vba</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">getElementsByTagName</tt><tt class="py-op">(</tt><tt class="py-string">"virtualBuildArea"</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt> |
|
312 <a name="L123"></a><tt class="py-lineno">123</tt> <tt class="py-line"> </tt> |
|
313 <a name="L124"></a><tt class="py-lineno">124</tt> <tt class="py-line"> <tt class="py-comment"># analysing preparation creation</tt> </tt> |
|
314 <a name="L125"></a><tt class="py-lineno">125</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">for</tt> <tt id="link-50" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-50', 'copy', 'link-8');">copy</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-51" class="py-name" targets="Method vbaconf.AbstractConfigConverter._get_prep_configs()=vbaconf.AbstractConfigConverter-class.html#_get_prep_configs,Method vbaconf.ConfigConverter._get_prep_configs()=vbaconf.ConfigConverter-class.html#_get_prep_configs"><a title="vbaconf.AbstractConfigConverter._get_prep_configs |
|
315 vbaconf.ConfigConverter._get_prep_configs" class="py-name" href="#" onclick="return doclink('link-51', '_get_prep_configs', 'link-51');">_get_prep_configs</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
316 <a name="L126"></a><tt class="py-lineno">126</tt> <tt class="py-line"> <tt class="py-name">basedir</tt> <tt class="py-op">=</tt> <tt id="link-52" class="py-name"><a title="vbaconf.cleanup_path |
|
317 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-52', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt id="link-53" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-53', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">basedir</tt><tt class="py-op">)</tt> </tt> |
|
318 <a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> <tt class="py-name">src</tt> <tt class="py-op">=</tt> <tt id="link-54" class="py-name"><a title="vbaconf.cleanup_path |
|
319 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-54', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt id="link-55" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-55', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="buildtools.Command.name |
|
320 ccm.FourPartName.name |
|
321 symrec.ServicePack.name |
|
322 sysdef.api.Configuration.name |
|
323 sysdef.api.Option.name |
|
324 sysdef.api.SpecialInstruction.name |
|
325 sysdef.api.Target.name |
|
326 sysdef.api.TargetList.name |
|
327 sysdef.api.Unit.name |
|
328 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-56', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt> </tt> |
|
329 <a name="L128"></a><tt class="py-lineno">128</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">p</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name" targets="Method vbaconf.AbstractConfigConverter._get_projects_configs()=vbaconf.AbstractConfigConverter-class.html#_get_projects_configs,Method vbaconf.ConfigConverter._get_projects_configs()=vbaconf.ConfigConverter-class.html#_get_projects_configs,Method vbaconf.ConfigConverterNewDelivery._get_projects_configs()=vbaconf.ConfigConverterNewDelivery-class.html#_get_projects_configs"><a title="vbaconf.AbstractConfigConverter._get_projects_configs |
|
330 vbaconf.ConfigConverter._get_projects_configs |
|
331 vbaconf.ConfigConverterNewDelivery._get_projects_configs" class="py-name" href="#" onclick="return doclink('link-57', '_get_projects_configs', 'link-57');">_get_projects_configs</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
332 <a name="L129"></a><tt class="py-lineno">129</tt> <tt class="py-line"> <tt class="py-name">ccmp</tt> <tt class="py-op">=</tt> <tt id="link-58" class="py-name"><a title="ccm" class="py-name" href="#" onclick="return doclink('link-58', 'ccm', 'link-1');">ccm</a></tt><tt class="py-op">.</tt><tt id="link-59" class="py-name"><a title="ccm.FourPartName" class="py-name" href="#" onclick="return doclink('link-59', 'FourPartName', 'link-13');">FourPartName</a></tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="ccm.ProjectCheckoutResult.project" class="py-name" href="#" onclick="return doclink('link-60', 'project', 'link-14');">project</a></tt><tt class="py-op">)</tt> </tt> |
|
333 <a name="L130"></a><tt class="py-lineno">130</tt> <tt class="py-line"> <tt class="py-name">p_dir</tt> <tt class="py-op">=</tt> <tt id="link-61" class="py-name"><a title="vbaconf.cleanup_path |
|
334 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-61', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">p</tt><tt class="py-op">.</tt><tt class="py-name">dir</tt><tt class="py-op">)</tt> </tt> |
|
335 <a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"> <tt class="py-comment">#print "ccmp: %s" % ccmp</tt> </tt> |
|
336 <a name="L132"></a><tt class="py-lineno">132</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment">#print "pdir: %s" % p_dir</tt> </tt> |
|
337 <a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-comment"># looking for project_name/project_name pattern, and if dest doesn't exist</tt> </tt> |
|
338 <a name="L134"></a><tt class="py-lineno">134</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">if</tt> <tt class="py-op">(</tt><tt class="py-name">re</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name"><a title="fileutils.AbstractScanner.match |
|
339 pathaddition.match" class="py-name" href="#" onclick="return doclink('link-62', 'match', 'link-16');">match</a></tt><tt class="py-op">(</tt><tt class="py-string">r"%s/%s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name"><a title="buildtools.Command.name |
|
340 ccm.FourPartName.name |
|
341 symrec.ServicePack.name |
|
342 sysdef.api.Configuration.name |
|
343 sysdef.api.Option.name |
|
344 sysdef.api.SpecialInstruction.name |
|
345 sysdef.api.Target.name |
|
346 sysdef.api.TargetList.name |
|
347 sysdef.api.Unit.name |
|
348 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-63', 'name', 'link-11');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-64" class="py-name"><a title="buildtools.Command.name |
|
349 ccm.FourPartName.name |
|
350 symrec.ServicePack.name |
|
351 sysdef.api.Configuration.name |
|
352 sysdef.api.Option.name |
|
353 sysdef.api.SpecialInstruction.name |
|
354 sysdef.api.Target.name |
|
355 sysdef.api.TargetList.name |
|
356 sysdef.api.Unit.name |
|
357 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-64', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">src</tt><tt class="py-op">,</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">I</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-keyword">not</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-65" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-65', 'copy', 'link-8');">copy</a></tt><tt class="py-op">,</tt> <tt class="py-string">'dest'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
358 <a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-string">"All object from root."</tt> </tt> |
|
359 <a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
360 <a name="L137"></a><tt class="py-lineno">137</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
361 <a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
362 <a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> <tt class="py-name">objs</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"objects"</tt><tt class="py-op">)</tt> </tt> |
|
363 <a name="L140"></a><tt class="py-lineno">140</tt> <tt class="py-line"> <tt class="py-name">objs</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"from"</tt><tt class="py-op">,</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="buildtools.Command.name |
|
364 ccm.FourPartName.name |
|
365 symrec.ServicePack.name |
|
366 sysdef.api.Configuration.name |
|
367 sysdef.api.Option.name |
|
368 sysdef.api.SpecialInstruction.name |
|
369 sysdef.api.Target.name |
|
370 sysdef.api.TargetList.name |
|
371 sysdef.api.Unit.name |
|
372 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-66', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt> </tt> |
|
373 <a name="L141"></a><tt class="py-lineno">141</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">objs</tt><tt class="py-op">)</tt> </tt> |
|
374 <a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"> <tt class="py-comment"># looking for project_name/project_name pattern, and if dest exists</tt> </tt> |
|
375 <a name="L143"></a><tt class="py-lineno">143</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">elif</tt> <tt class="py-op">(</tt><tt class="py-name">re</tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="fileutils.AbstractScanner.match |
|
376 pathaddition.match" class="py-name" href="#" onclick="return doclink('link-67', 'match', 'link-16');">match</a></tt><tt class="py-op">(</tt><tt class="py-string">r"%s/%s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-68" class="py-name"><a title="buildtools.Command.name |
|
377 ccm.FourPartName.name |
|
378 symrec.ServicePack.name |
|
379 sysdef.api.Configuration.name |
|
380 sysdef.api.Option.name |
|
381 sysdef.api.SpecialInstruction.name |
|
382 sysdef.api.Target.name |
|
383 sysdef.api.TargetList.name |
|
384 sysdef.api.Unit.name |
|
385 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-68', 'name', 'link-11');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-69" class="py-name"><a title="buildtools.Command.name |
|
386 ccm.FourPartName.name |
|
387 symrec.ServicePack.name |
|
388 sysdef.api.Configuration.name |
|
389 sysdef.api.Option.name |
|
390 sysdef.api.SpecialInstruction.name |
|
391 sysdef.api.Target.name |
|
392 sysdef.api.TargetList.name |
|
393 sysdef.api.Unit.name |
|
394 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-69', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">src</tt><tt class="py-op">,</tt> <tt class="py-name">re</tt><tt class="py-op">.</tt><tt class="py-name">I</tt><tt class="py-op">)</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-70" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-70', 'copy', 'link-8');">copy</a></tt><tt class="py-op">,</tt> <tt class="py-string">'dest'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
395 <a name="L144"></a><tt class="py-lineno">144</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-71" class="py-name"><a title="buildtools.Command.path |
|
396 sysdef.api.SpecialInstruction.path |
|
397 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-71', 'path', 'link-2');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">basename</tt><tt class="py-op">(</tt><tt id="link-72" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-72', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="buildtools.Command.name |
|
398 ccm.FourPartName.name |
|
399 symrec.ServicePack.name |
|
400 sysdef.api.Configuration.name |
|
401 sysdef.api.Option.name |
|
402 sysdef.api.SpecialInstruction.name |
|
403 sysdef.api.Target.name |
|
404 sysdef.api.TargetList.name |
|
405 sysdef.api.Unit.name |
|
406 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-73', 'name', 'link-11');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
407 <a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
408 <a name="L146"></a><tt class="py-lineno">146</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
409 <a name="L147"></a><tt class="py-lineno">147</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-74" class="py-name"><a title="vbaconf.cleanup_path |
|
410 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-74', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-75" class="py-name"><a title="buildtools.Command.path |
|
411 sysdef.api.SpecialInstruction.path |
|
412 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-75', 'path', 'link-2');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">dirname</tt><tt class="py-op">(</tt><tt id="link-76" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-76', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
413 <a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
414 <a name="L149"></a><tt class="py-lineno">149</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
415 <a name="L150"></a><tt class="py-lineno">150</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
416 <a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
417 <a name="L152"></a><tt class="py-lineno">152</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-77" class="py-name"><a title="vbaconf.cleanup_path |
|
418 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-77', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt id="link-78" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-78', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
419 <a name="L153"></a><tt class="py-lineno">153</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
420 <a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"> <tt class="py-comment"># for directory copy</tt> </tt> |
|
421 <a name="L155"></a><tt class="py-lineno">155</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">elif</tt> <tt id="link-79" class="py-name"><a title="vbaconf.cleanup_path |
|
422 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-79', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">basedir</tt> <tt class="py-op">+</tt> <tt class="py-string">"/"</tt> <tt class="py-op">+</tt> <tt class="py-name">src</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-name">p_dir</tt><tt class="py-op">:</tt> </tt> |
|
423 <a name="L156"></a><tt class="py-lineno">156</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-string">"Adding to subdirectory"</tt> </tt> |
|
424 <a name="L157"></a><tt class="py-lineno">157</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name"><a title="buildtools.Command.name |
|
425 ccm.FourPartName.name |
|
426 symrec.ServicePack.name |
|
427 sysdef.api.Configuration.name |
|
428 sysdef.api.Option.name |
|
429 sysdef.api.SpecialInstruction.name |
|
430 sysdef.api.Target.name |
|
431 sysdef.api.TargetList.name |
|
432 sysdef.api.Unit.name |
|
433 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-80', 'name', 'link-11');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">basedir</tt> <tt class="py-op">+</tt> <tt class="py-string">"/"</tt> <tt class="py-op">+</tt> <tt class="py-name">src</tt><tt class="py-op">,</tt> <tt class="py-name">p_dir</tt> </tt> |
|
434 <a name="L158"></a><tt class="py-lineno">158</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
435 <a name="L159"></a><tt class="py-lineno">159</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
436 <a name="L160"></a><tt class="py-lineno">160</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-81" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-81', 'copy', 'link-8');">copy</a></tt><tt class="py-op">,</tt> <tt class="py-string">'dest'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
437 <a name="L161"></a><tt class="py-lineno">161</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-82" class="py-name"><a title="vbaconf.cleanup_path |
|
438 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-82', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt id="link-83" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-83', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-84" class="py-name"><a title="buildtools.Command.name |
|
439 ccm.FourPartName.name |
|
440 symrec.ServicePack.name |
|
441 sysdef.api.Configuration.name |
|
442 sysdef.api.Option.name |
|
443 sysdef.api.SpecialInstruction.name |
|
444 sysdef.api.Target.name |
|
445 sysdef.api.TargetList.name |
|
446 sysdef.api.Unit.name |
|
447 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-84', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
448 <a name="L162"></a><tt class="py-lineno">162</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
449 <a name="L163"></a><tt class="py-lineno">163</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-85" class="py-name"><a title="vbaconf.cleanup_path |
|
450 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-85', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt><tt class="py-op">+</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-86" class="py-name"><a title="buildtools.Command.name |
|
451 ccm.FourPartName.name |
|
452 symrec.ServicePack.name |
|
453 sysdef.api.Configuration.name |
|
454 sysdef.api.Option.name |
|
455 sysdef.api.SpecialInstruction.name |
|
456 sysdef.api.Target.name |
|
457 sysdef.api.TargetList.name |
|
458 sysdef.api.Unit.name |
|
459 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-86', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
460 <a name="L164"></a><tt class="py-lineno">164</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
461 <a name="L165"></a><tt class="py-lineno">165</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name">p_dir</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt id="link-87" class="py-name"><a title="vbaconf.cleanup_path |
|
462 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-87', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">basedir</tt> <tt class="py-op">+</tt> <tt class="py-string">"/"</tt> <tt class="py-op">+</tt> <tt class="py-name">src</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
463 <a name="L166"></a><tt class="py-lineno">166</tt> <tt class="py-line"> <tt class="py-keyword">print</tt> <tt class="py-string">"Adding to subdirectory"</tt> </tt> |
|
464 <a name="L167"></a><tt class="py-lineno">167</tt> <tt class="py-line"> <tt class="py-name">delta</tt> <tt class="py-op">=</tt> <tt class="py-name">p_dir</tt><tt class="py-op">[</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-88" class="py-name"><a title="vbaconf.cleanup_path |
|
465 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-88', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">basedir</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt><tt class="py-op">]</tt> </tt> |
|
466 <a name="L168"></a><tt class="py-lineno">168</tt> <tt class="py-line"> <tt class="py-name">add</tt> <tt class="py-op">=</tt> <tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">createElementNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"add"</tt><tt class="py-op">)</tt> </tt> |
|
467 <a name="L169"></a><tt class="py-lineno">169</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"project"</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">ccmp</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
468 <a name="L170"></a><tt class="py-lineno">170</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-89" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-89', 'copy', 'link-8');">copy</a></tt><tt class="py-op">,</tt> <tt class="py-string">'dest'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
469 <a name="L171"></a><tt class="py-lineno">171</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-90" class="py-name"><a title="vbaconf.cleanup_path |
|
470 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-90', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt id="link-91" class="py-name"><a title="buildtools.Command.path |
|
471 sysdef.api.SpecialInstruction.path |
|
472 sysdef.api.Unit.path" class="py-name" href="#" onclick="return doclink('link-91', 'path', 'link-2');">path</a></tt><tt class="py-op">.</tt><tt class="py-name">dirname</tt><tt class="py-op">(</tt><tt id="link-92" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-92', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">delta</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-93" class="py-name"><a title="buildtools.Command.name |
|
473 ccm.FourPartName.name |
|
474 symrec.ServicePack.name |
|
475 sysdef.api.Configuration.name |
|
476 sysdef.api.Option.name |
|
477 sysdef.api.SpecialInstruction.name |
|
478 sysdef.api.Target.name |
|
479 sysdef.api.TargetList.name |
|
480 sysdef.api.Unit.name |
|
481 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-93', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
482 <a name="L172"></a><tt class="py-lineno">172</tt> <tt class="py-line"> <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt> |
|
483 <a name="L173"></a><tt class="py-lineno">173</tt> <tt class="py-line"> <tt class="py-name">add</tt><tt class="py-op">.</tt><tt class="py-name">setAttributeNS</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">,</tt> <tt class="py-string">"to"</tt><tt class="py-op">,</tt> <tt id="link-94" class="py-name"><a title="vbaconf.cleanup_path |
|
484 vbaconf.new_delivery.cleanup_path" class="py-name" href="#" onclick="return doclink('link-94', 'cleanup_path', 'link-7');">cleanup_path</a></tt><tt class="py-op">(</tt><tt class="py-name">delta</tt> <tt class="py-op">+</tt> <tt class="py-string">'/'</tt> <tt class="py-op">+</tt> <tt class="py-name">ccmp</tt><tt class="py-op">.</tt><tt id="link-95" class="py-name"><a title="buildtools.Command.name |
|
485 ccm.FourPartName.name |
|
486 symrec.ServicePack.name |
|
487 sysdef.api.Configuration.name |
|
488 sysdef.api.Option.name |
|
489 sysdef.api.SpecialInstruction.name |
|
490 sysdef.api.Target.name |
|
491 sysdef.api.TargetList.name |
|
492 sysdef.api.Unit.name |
|
493 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-95', 'name', 'link-11');">name</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
494 <a name="L174"></a><tt class="py-lineno">174</tt> <tt class="py-line"> <tt class="py-name">vba</tt><tt class="py-op">.</tt><tt class="py-name">appendChild</tt><tt class="py-op">(</tt><tt class="py-name">add</tt><tt class="py-op">)</tt> </tt> |
|
495 <a name="L175"></a><tt class="py-lineno">175</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">doc</tt> </tt> |
|
496 </div></div><a name="L176"></a><tt class="py-lineno">176</tt> <tt class="py-line"> </tt> |
|
497 <a name="L177"></a><tt class="py-lineno">177</tt> <tt class="py-line"> </tt> |
|
498 <a name="ConfigConverter"></a><div id="ConfigConverter-def"><a name="L178"></a><tt class="py-lineno">178</tt> <a class="py-toggle" href="#" id="ConfigConverter-toggle" onclick="return toggle('ConfigConverter');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="vbaconf.ConfigConverter-class.html">ConfigConverter</a><tt class="py-op">(</tt><tt class="py-base-class">AbstractConfigConverter</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
499 </div><div id="ConfigConverter-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ConfigConverter-expanded"><a name="ConfigConverter.__init__"></a><div id="ConfigConverter.__init__-def"><a name="L179"></a><tt class="py-lineno">179</tt> <a class="py-toggle" href="#" id="ConfigConverter.__init__-toggle" onclick="return toggle('ConfigConverter.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf.ConfigConverter-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">deliveryinput</tt><tt class="py-op">,</tt> <tt class="py-param">prepinput</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
500 </div><div id="ConfigConverter.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ConfigConverter.__init__-expanded"><a name="L180"></a><tt class="py-lineno">180</tt> <tt class="py-line"> <tt id="link-96" class="py-name" targets="Class vbaconf.AbstractConfigConverter=vbaconf.AbstractConfigConverter-class.html"><a title="vbaconf.AbstractConfigConverter" class="py-name" href="#" onclick="return doclink('link-96', 'AbstractConfigConverter', 'link-96');">AbstractConfigConverter</a></tt><tt class="py-op">.</tt><tt id="link-97" class="py-name" targets="Method ant.AntHandler.__init__()=ant.AntHandler-class.html#__init__,Method archive.builders.ArchivePreBuilder.__init__()=archive.builders.ArchivePreBuilder-class.html#__init__,Method archive.mappers.DefaultMapper.__init__()=archive.mappers.DefaultMapper-class.html#__init__,Method archive.mappers.EPLPolicyRemoverMapper.__init__()=archive.mappers.EPLPolicyRemoverMapper-class.html#__init__,Method archive.mappers.Mapper.__init__()=archive.mappers.Mapper-class.html#__init__,Method archive.mappers.PolicyMapper.__init__()=archive.mappers.PolicyMapper-class.html#__init__,Method archive.mappers.PolicyRemoverMapper.__init__()=archive.mappers.PolicyRemoverMapper-class.html#__init__,Method archive.mappers.SFPolicyRemoverMapper.__init__()=archive.mappers.SFPolicyRemoverMapper-class.html#__init__,Method archive.scanners.AbldWhatScanner.__init__()=archive.scanners.AbldWhatScanner-class.html#__init__,Method archive.scanners.FileSystemScanner.__init__()=archive.scanners.FileSystemScanner-class.html#__init__,Method archive.scanners.InputFileScanner.__init__()=archive.scanners.InputFileScanner-class.html#__init__,Method archive.scanners.Scanner.__init__()=archive.scanners.Scanner-class.html#__init__,Method archive.selectors.DistributionPolicySelector.__init__()=archive.selectors.DistributionPolicySelector-class.html#__init__,Method archive.selectors.SymbianPolicySelector.__init__()=archive.selectors.SymbianPolicySelector-class.html#__init__,Method archive.tools.Remover.__init__()=archive.tools.Remover-class.html#__init__,Method archive.tools.SevenZipArchiver.__init__()=archive.tools.SevenZipArchiver-class.html#__init__,Method archive.tools.ZipArchiver.__init__()=archive.tools.ZipArchiver-class.html#__init__,Method ats3.Ats3TestPlan.__init__()=ats3.Ats3TestPlan-class.html#__init__,Method ats3.Configuration.__init__()=ats3.Configuration-class.html#__init__,Method ats3.aste.AsteComponentParser.__init__()=ats3.aste.AsteComponentParser-class.html#__init__,Method ats3.aste.AsteTestDropGenerator.__init__()=ats3.aste.AsteTestDropGenerator-class.html#__init__,Method ats3.aste.AsteTestPlan.__init__()=ats3.aste.AsteTestPlan-class.html#__init__,Method ats3.aste.Configuration.__init__()=ats3.aste.Configuration-class.html#__init__,Method ats3.atsconfigparser.ATSConfigParser.__init__()=ats3.atsconfigparser.ATSConfigParser-class.html#__init__,Method ats3.atsconfigparser.TestXML.__init__()=ats3.atsconfigparser.TestXML-class.html#__init__,Method ats3.dropgenerator.Ats3TestDropGenerator.__init__()=ats3.dropgenerator.Ats3TestDropGenerator-class.html#__init__,Method ats3.parsers.BldFileParser.__init__()=ats3.parsers.BldFileParser-class.html#__init__,Method ats3.parsers.CppParser.__init__()=ats3.parsers.CppParser-class.html#__init__,Method ats3.parsers.MmpFileParser.__init__()=ats3.parsers.MmpFileParser-class.html#__init__,Method ats3.parsers.PkgFileParser.__init__()=ats3.parsers.PkgFileParser-class.html#__init__,Method ats3.testconfigurator.Ats3ComponentParser.__init__()=ats3.testconfigurator.Ats3ComponentParser-class.html#__init__,Method bsf.BSF.__init__()=bsf.BSF-class.html#__init__,Method build.ec.history.HistoryFileManager.__init__()=build.ec.history.HistoryFileManager-class.html#__init__,Method build.io.AbldLogWhatReader.__init__()=build.io.AbldLogWhatReader-class.html#__init__,Method build.io.RombuildLogBinarySizeReader.__init__()=build.io.RombuildLogBinarySizeReader-class.html#__init__,Method build.model.BOM.__init__()=build.model.BOM-class.html#__init__,Method build.model.BOMDeltaXMLWriter.__init__()=build.model.BOMDeltaXMLWriter-class.html#__init__,Method build.model.BOMXMLWriter.__init__()=build.model.BOMXMLWriter-class.html#__init__,Method build.model.Fix.__init__()=build.model.Fix-class.html#__init__,Method build.model.PCPError.__init__()=build.model.PCPError-class.html#__init__,Method build.model.Project.__init__()=build.model.Project-class.html#__init__,Method build.model.SessionCreator.__init__()=build.model.SessionCreator-class.html#__init__,Method build.model.TAChange.__init__()=build.model.TAChange-class.html#__init__,Method build.model.TSWError.__init__()=build.model.TSWError-class.html#__init__,Method build.model.Task.__init__()=build.model.Task-class.html#__init__,Method buildtools.AbstractOutputWriter.__init__()=buildtools.AbstractOutputWriter-class.html#__init__,Method buildtools.AntWriter.__init__()=buildtools.AntWriter-class.html#__init__,Method buildtools.Command.__init__()=buildtools.Command-class.html#__init__,Method buildtools.CommandList.__init__()=buildtools.CommandList-class.html#__init__,Method buildtools.Copy.__init__()=buildtools.Copy-class.html#__init__,Method buildtools.Delete.__init__()=buildtools.Delete-class.html#__init__,Method buildtools.EBSWriter.__init__()=buildtools.EBSWriter-class.html#__init__,Method buildtools.MakeWriter.__init__()=buildtools.MakeWriter-class.html#__init__,Method buildtools.PreBuilder.__init__()=buildtools.PreBuilder-class.html#__init__,Method buildtools.StringWriter.__init__()=buildtools.StringWriter-class.html#__init__,Method ccm.AbstractSession.__init__()=ccm.AbstractSession-class.html#__init__,Method ccm.AttributeNameListResult.__init__()=ccm.AttributeNameListResult-class.html#__init__,Method ccm.CCMException.__init__()=ccm.CCMException-class.html#__init__,Method ccm.CCMObject.__init__()=ccm.CCMObject-class.html#__init__,Method ccm.ConflictsResult.__init__()=ccm.ConflictsResult-class.html#__init__,Method ccm.CreateNewTaskResult.__init__()=ccm.CreateNewTaskResult-class.html#__init__,Method ccm.DataMapperListResult.__init__()=ccm.DataMapperListResult-class.html#__init__,Method ccm.Dir.__init__()=ccm.Dir-class.html#__init__,Method ccm.File.__init__()=ccm.File-class.html#__init__,Method ccm.FinduseResult.__init__()=ccm.FinduseResult-class.html#__init__,Method ccm.Folder.__init__()=ccm.Folder-class.html#__init__,Method ccm.FolderCopyResult.__init__()=ccm.FolderCopyResult-class.html#__init__,Method ccm.FourPartName.__init__()=ccm.FourPartName-class.html#__init__,Method ccm.InvalidFourPartNameException.__init__()=ccm.InvalidFourPartNameException-class.html#__init__,Method ccm.ObjectListResult.__init__()=ccm.ObjectListResult-class.html#__init__,Method ccm.Project.__init__()=ccm.Project-class.html#__init__,Method ccm.ProjectCheckoutResult.__init__()=ccm.ProjectCheckoutResult-class.html#__init__,Method ccm.ProjectPurposeResult.__init__()=ccm.ProjectPurposeResult-class.html#__init__,Method ccm.Query.__init__()=ccm.Query-class.html#__init__,Method ccm.Releasedef.__init__()=ccm.Releasedef-class.html#__init__,Method ccm.Result.__init__()=ccm.Result-class.html#__init__,Method ccm.Session.__init__()=ccm.Session-class.html#__init__,Method ccm.SessionPool.__init__()=ccm.SessionPool-class.html#__init__,Method ccm.Task.__init__()=ccm.Task-class.html#__init__,Method ccm.UpdatePropertiesRefreshResult.__init__()=ccm.UpdatePropertiesRefreshResult-class.html#__init__,Method ccm.UpdateResult.__init__()=ccm.UpdateResult-class.html#__init__,Method ccm.UpdateResultSimple.__init__()=ccm.UpdateResultSimple-class.html#__init__,Method ccm.UpdateTemplate.__init__()=ccm.UpdateTemplate-class.html#__init__,Method ccm.UpdateTemplateInformation.__init__()=ccm.UpdateTemplateInformation-class.html#__init__,Method ccm.WorkAreaInfoResult.__init__()=ccm.WorkAreaInfoResult-class.html#__init__,Method ccm.conflict.Conflict.__init__()=ccm.conflict.Conflict-class.html#__init__,Method ccm.conflict.MultipleObjectInBaselineConflict.__init__()=ccm.conflict.MultipleObjectInBaselineConflict-class.html#__init__,Method ccm.conflict.ObjectAndBaselineConflict.__init__()=ccm.conflict.ObjectAndBaselineConflict-class.html#__init__,Method ccm.conflict.ObjectAndTask.__init__()=ccm.conflict.ObjectAndTask-class.html#__init__,Method ccm.conflict.ObjectNotFoundInBaselineConflict.__init__()=ccm.conflict.ObjectNotFoundInBaselineConflict-class.html#__init__,Method ccm.conflict.TaskModel.__init__()=ccm.conflict.TaskModel-class.html#__init__,Method ccm.extra.CCMExtraException.__init__()=ccm.extra.CCMExtraException-class.html#__init__,Method ccm.extra.CachedProxySession.__init__()=ccm.extra.CachedProxySession-class.html#__init__,Method ccm.extra.CachedSessionProvider.__init__()=ccm.extra.CachedSessionProvider-class.html#__init__,Method ccm.extra.SessionProvider.__init__()=ccm.extra.SessionProvider-class.html#__init__,Method ccm.extra.__FileSnapshot.__init__()=ccm.extra.__FileSnapshot-class.html#__init__,Method ccm.extra.__ProjectSnapshot.__init__()=ccm.extra.__ProjectSnapshot-class.html#__init__,Method comments.CommentParser.__init__()=comments.CommentParser-class.html#__init__,Method configuration.Configuration.__init__()=configuration.Configuration-class.html#__init__,Method configuration.ConfigurationSet.__init__()=configuration.ConfigurationSet-class.html#__init__,Method configuration.HierarchicalConfiguration.__init__()=configuration.HierarchicalConfiguration-class.html#__init__,Method configuration.NestedConfiguration.__init__()=configuration.NestedConfiguration-class.html#__init__,Method configuration.NestedConfigurationBuilder.__init__()=configuration.NestedConfigurationBuilder-class.html#__init__,Method configuration.PropertiesConfiguration.__init__()=configuration.PropertiesConfiguration-class.html#__init__,Method configuration.Specification.__init__()=configuration.Specification-class.html#__init__,Method configuration.XMLConfiguration.__init__()=configuration.XMLConfiguration-class.html#__init__,Method configuration._Key.__init__()=configuration._Key-class.html#__init__,Method configuration_model.DataModel.__init__()=configuration_model.DataModel-class.html#__init__,Method configuration_model.GroupDef.__init__()=configuration_model.GroupDef-class.html#__init__,Method configuration_model.Item.__init__()=configuration_model.Item-class.html#__init__,Method configuration_model.PropertyDef.__init__()=configuration_model.PropertyDef-class.html#__init__,Method delta_zip.DeltaZipBuilder.__init__()=delta_zip.DeltaZipBuilder-class.html#__init__,Method delta_zip.MD5SignatureBuilder.__init__()=delta_zip.MD5SignatureBuilder-class.html#__init__,Method delta_zip.MD5SignatureBuilderEC.__init__()=delta_zip.MD5SignatureBuilderEC-class.html#__init__,Method delta_zip.SignaturesDict.__init__()=delta_zip.SignaturesDict-class.html#__init__,Method dependancygraph.Library.__init__()=dependancygraph.Library-class.html#__init__,Method dependancygraph.ModuleGroup.__init__()=dependancygraph.ModuleGroup-class.html#__init__,Method dependancygraph.ReadIvyConfig.__init__()=dependancygraph.ReadIvyConfig-class.html#__init__,Method escapeddict.EscapedDict.__init__()=escapeddict.EscapedDict-class.html#__init__,Method fileutils.AbstractScanner.__init__()=fileutils.AbstractScanner-class.html#__init__,Method fileutils.FileScanner.__init__()=fileutils.FileScanner-class.html#__init__,Method fileutils.Lock.__init__()=fileutils.Lock-class.html#__init__,Method flash_config.FlashConfigurationWriter.__init__()=flash_config.FlashConfigurationWriter-class.html#__init__,Method flash_config.ImagePack.__init__()=flash_config.ImagePack-class.html#__init__,Method helium.documentation.APIDeltaWriter.__init__()=helium.documentation.APIDeltaWriter-class.html#__init__,Method helium.logger.Logger.__init__()=helium.logger.Logger-class.html#__init__,Method helium.logger._CustomizePrint.__init__()=helium.logger._CustomizePrint-class.html#__init__,Method helium.output.widgets.BoldText.__init__()=helium.output.widgets.BoldText-class.html#__init__,Method helium.output.widgets.Box.__init__()=helium.output.widgets.Box-class.html#__init__,Method helium.output.widgets.Event.__init__()=helium.output.widgets.Event-class.html#__init__,Method helium.output.widgets.Footer.__init__()=helium.output.widgets.Footer-class.html#__init__,Method helium.output.widgets.Header.__init__()=helium.output.widgets.Header-class.html#__init__,Method helium.output.widgets.Summary.__init__()=helium.output.widgets.Summary-class.html#__init__,Method helium.output.widgets.Text.__init__()=helium.output.widgets.Text-class.html#__init__,Method helium.output.widgets.Widget.__init__()=helium.output.widgets.Widget-class.html#__init__,Method helium.outputer.Configuration.__init__()=helium.outputer.Configuration-class.html#__init__,Method helium.outputer.XML2XHTML.__init__()=helium.outputer.XML2XHTML-class.html#__init__,Method imaker.ecore.ContainerBase.__init__()=imaker.ecore.ContainerBase-class.html#__init__,Method imaker.ecore.Reference.__init__()=imaker.ecore.Reference-class.html#__init__,Method imaker.iqrf.Configuration.__init__()=imaker.iqrf.Configuration-class.html#__init__,Method imaker.iqrf.ConfigurationElement.__init__()=imaker.iqrf.ConfigurationElement-class.html#__init__,Method imaker.iqrf.IMaker.__init__()=imaker.iqrf.IMaker-class.html#__init__,Method imaker.iqrf.Interface.__init__()=imaker.iqrf.Interface-class.html#__init__,Method imaker.iqrf.Result.__init__()=imaker.iqrf.Result-class.html#__init__,Method imaker.iqrf.Setting.__init__()=imaker.iqrf.Setting-class.html#__init__,Method imaker.iqrf.Target.__init__()=imaker.iqrf.Target-class.html#__init__,Method integration.quality.AbldWhatParser.__init__()=integration.quality.AbldWhatParser-class.html#__init__,Method integration.quality.InternalExportParser.__init__()=integration.quality.InternalExportParser-class.html#__init__,Method integration.quality.PolicyValidator.__init__()=integration.quality.PolicyValidator-class.html#__init__,Method integration.templatebuilder.TemplateBuilder.__init__()=integration.templatebuilder.TemplateBuilder-class.html#__init__,Method localisation.Languages.__init__()=localisation.Languages-class.html#__init__,Method log2xml.AppendSummary.__init__()=log2xml.AppendSummary-class.html#__init__,Method log2xml.ContentWriter.__init__()=log2xml.ContentWriter-class.html#__init__,Method log2xml.LogWriter.__init__()=log2xml.LogWriter-class.html#__init__,Method log2xml.Stack.__init__()=log2xml.Stack-class.html#__init__,Method parsedatalistening.Build.__init__()=parsedatalistening.Build-class.html#__init__,Method parsedatalistening.Target.__init__()=parsedatalistening.Target-class.html#__init__,Method preparation.PreparationAction.__init__()=preparation.PreparationAction-class.html#__init__,Method preparation.PreparationBuilder.__init__()=preparation.PreparationBuilder-class.html#__init__,Method preparation.PreparationCheckout.__init__()=preparation.PreparationCheckout-class.html#__init__,Method preparation.PreparationSnapshot.__init__()=preparation.PreparationSnapshot-class.html#__init__,Method preparation.PreparationUpdate.__init__()=preparation.PreparationUpdate-class.html#__init__,Method rom.IMakerRomBuilder.__init__()=rom.IMakerRomBuilder-class.html#__init__,Method rom.Image.__init__()=rom.Image-class.html#__init__,Method rom.RomBuilder.__init__()=rom.RomBuilder-class.html#__init__,Method rtfutils.RTFUtils.__init__()=rtfutils.RTFUtils-class.html#__init__,Method sis.SisPreBuilder.__init__()=sis.SisPreBuilder-class.html#__init__,Method symbian.log.Parser.__init__()=symbian.log.Parser-class.html#__init__,Method symrec.MD5Updater.__init__()=symrec.MD5Updater-class.html#__init__,Method symrec.Metadata2TDD.__init__()=symrec.Metadata2TDD-class.html#__init__,Method symrec.MetadataMerger.__init__()=symrec.MetadataMerger-class.html#__init__,Method symrec.ReleaseMetadata.__init__()=symrec.ReleaseMetadata-class.html#__init__,Method symrec.ServicePack.__init__()=symrec.ServicePack-class.html#__init__,Method symrec.ValidateReleaseMetadata.__init__()=symrec.ValidateReleaseMetadata-class.html#__init__,Method symrec.ValidateReleaseMetadataCached.__init__()=symrec.ValidateReleaseMetadataCached-class.html#__init__,Method symrec.ValidateTicklerReleaseMetadata.__init__()=symrec.ValidateTicklerReleaseMetadata-class.html#__init__,Method sysdef.api.Binary.__init__()=sysdef.api.Binary-class.html#__init__,Method sysdef.api.BuildLayer.__init__()=sysdef.api.BuildLayer-class.html#__init__,Method sysdef.api.Configuration.__init__()=sysdef.api.Configuration-class.html#__init__,Method sysdef.api.Layer.__init__()=sysdef.api.Layer-class.html#__init__,Method sysdef.api.Module.__init__()=sysdef.api.Module-class.html#__init__,Method sysdef.api.Option.__init__()=sysdef.api.Option-class.html#__init__,Method sysdef.api.SpecialInstruction.__init__()=sysdef.api.SpecialInstruction-class.html#__init__,Method sysdef.api.SysDefElement.__init__()=sysdef.api.SysDefElement-class.html#__init__,Method sysdef.api.SystemDefinition.__init__()=sysdef.api.SystemDefinition-class.html#__init__,Method sysdef.api.Target.__init__()=sysdef.api.Target-class.html#__init__,Method sysdef.api.TargetList.__init__()=sysdef.api.TargetList-class.html#__init__,Method sysdef.api.Task.__init__()=sysdef.api.Task-class.html#__init__,Method sysdef.api.Unit.__init__()=sysdef.api.Unit-class.html#__init__,Method sysdef.api.UnitList.__init__()=sysdef.api.UnitList-class.html#__init__,Method sysdef.api._UnitGroup.__init__()=sysdef.api._UnitGroup-class.html#__init__,Method sysdef.io.FlashImageSizeWriter.__init__()=sysdef.io.FlashImageSizeWriter-class.html#__init__,Method sysdef.io.MakeWriter.__init__()=sysdef.io.MakeWriter-class.html#__init__,Method sysdef.io.MakeWriter2.__init__()=sysdef.io.MakeWriter2-class.html#__init__,Method sysdef.io.MakeWriter3.__init__()=sysdef.io.MakeWriter3-class.html#__init__,Method validateoverlay.ValidateOverlayInfo.__init__()=validateoverlay.ValidateOverlayInfo-class.html#__init__,Method vbaconf.AbstractConfigConverter.__init__()=vbaconf.AbstractConfigConverter-class.html#__init__,Method vbaconf.ConfigConverter.__init__()=vbaconf.ConfigConverter-class.html#__init__,Method vbaconf.ConfigConverterNewDelivery.__init__()=vbaconf.ConfigConverterNewDelivery-class.html#__init__,Method vbaconf.new_delivery.config_wrapper.__init__()=vbaconf.new_delivery.config_wrapper-class.html#__init__,Method version.Version.__init__()=version.Version-class.html#__init__,Method virtualbuildarea.VirtualDir.__init__()=virtualbuildarea.VirtualDir-class.html#__init__,Method virtualbuildarea.VirtualProject.__init__()=virtualbuildarea.VirtualProject-class.html#__init__"><a title="ant.AntHandler.__init__ |
|
501 archive.builders.ArchivePreBuilder.__init__ |
|
502 archive.mappers.DefaultMapper.__init__ |
|
503 archive.mappers.EPLPolicyRemoverMapper.__init__ |
|
504 archive.mappers.Mapper.__init__ |
|
505 archive.mappers.PolicyMapper.__init__ |
|
506 archive.mappers.PolicyRemoverMapper.__init__ |
|
507 archive.mappers.SFPolicyRemoverMapper.__init__ |
|
508 archive.scanners.AbldWhatScanner.__init__ |
|
509 archive.scanners.FileSystemScanner.__init__ |
|
510 archive.scanners.InputFileScanner.__init__ |
|
511 archive.scanners.Scanner.__init__ |
|
512 archive.selectors.DistributionPolicySelector.__init__ |
|
513 archive.selectors.SymbianPolicySelector.__init__ |
|
514 archive.tools.Remover.__init__ |
|
515 archive.tools.SevenZipArchiver.__init__ |
|
516 archive.tools.ZipArchiver.__init__ |
|
517 ats3.Ats3TestPlan.__init__ |
|
518 ats3.Configuration.__init__ |
|
519 ats3.aste.AsteComponentParser.__init__ |
|
520 ats3.aste.AsteTestDropGenerator.__init__ |
|
521 ats3.aste.AsteTestPlan.__init__ |
|
522 ats3.aste.Configuration.__init__ |
|
523 ats3.atsconfigparser.ATSConfigParser.__init__ |
|
524 ats3.atsconfigparser.TestXML.__init__ |
|
525 ats3.dropgenerator.Ats3TestDropGenerator.__init__ |
|
526 ats3.parsers.BldFileParser.__init__ |
|
527 ats3.parsers.CppParser.__init__ |
|
528 ats3.parsers.MmpFileParser.__init__ |
|
529 ats3.parsers.PkgFileParser.__init__ |
|
530 ats3.testconfigurator.Ats3ComponentParser.__init__ |
|
531 bsf.BSF.__init__ |
|
532 build.ec.history.HistoryFileManager.__init__ |
|
533 build.io.AbldLogWhatReader.__init__ |
|
534 build.io.RombuildLogBinarySizeReader.__init__ |
|
535 build.model.BOM.__init__ |
|
536 build.model.BOMDeltaXMLWriter.__init__ |
|
537 build.model.BOMXMLWriter.__init__ |
|
538 build.model.Fix.__init__ |
|
539 build.model.PCPError.__init__ |
|
540 build.model.Project.__init__ |
|
541 build.model.SessionCreator.__init__ |
|
542 build.model.TAChange.__init__ |
|
543 build.model.TSWError.__init__ |
|
544 build.model.Task.__init__ |
|
545 buildtools.AbstractOutputWriter.__init__ |
|
546 buildtools.AntWriter.__init__ |
|
547 buildtools.Command.__init__ |
|
548 buildtools.CommandList.__init__ |
|
549 buildtools.Copy.__init__ |
|
550 buildtools.Delete.__init__ |
|
551 buildtools.EBSWriter.__init__ |
|
552 buildtools.MakeWriter.__init__ |
|
553 buildtools.PreBuilder.__init__ |
|
554 buildtools.StringWriter.__init__ |
|
555 ccm.AbstractSession.__init__ |
|
556 ccm.AttributeNameListResult.__init__ |
|
557 ccm.CCMException.__init__ |
|
558 ccm.CCMObject.__init__ |
|
559 ccm.ConflictsResult.__init__ |
|
560 ccm.CreateNewTaskResult.__init__ |
|
561 ccm.DataMapperListResult.__init__ |
|
562 ccm.Dir.__init__ |
|
563 ccm.File.__init__ |
|
564 ccm.FinduseResult.__init__ |
|
565 ccm.Folder.__init__ |
|
566 ccm.FolderCopyResult.__init__ |
|
567 ccm.FourPartName.__init__ |
|
568 ccm.InvalidFourPartNameException.__init__ |
|
569 ccm.ObjectListResult.__init__ |
|
570 ccm.Project.__init__ |
|
571 ccm.ProjectCheckoutResult.__init__ |
|
572 ccm.ProjectPurposeResult.__init__ |
|
573 ccm.Query.__init__ |
|
574 ccm.Releasedef.__init__ |
|
575 ccm.Result.__init__ |
|
576 ccm.Session.__init__ |
|
577 ccm.SessionPool.__init__ |
|
578 ccm.Task.__init__ |
|
579 ccm.UpdatePropertiesRefreshResult.__init__ |
|
580 ccm.UpdateResult.__init__ |
|
581 ccm.UpdateResultSimple.__init__ |
|
582 ccm.UpdateTemplate.__init__ |
|
583 ccm.UpdateTemplateInformation.__init__ |
|
584 ccm.WorkAreaInfoResult.__init__ |
|
585 ccm.conflict.Conflict.__init__ |
|
586 ccm.conflict.MultipleObjectInBaselineConflict.__init__ |
|
587 ccm.conflict.ObjectAndBaselineConflict.__init__ |
|
588 ccm.conflict.ObjectAndTask.__init__ |
|
589 ccm.conflict.ObjectNotFoundInBaselineConflict.__init__ |
|
590 ccm.conflict.TaskModel.__init__ |
|
591 ccm.extra.CCMExtraException.__init__ |
|
592 ccm.extra.CachedProxySession.__init__ |
|
593 ccm.extra.CachedSessionProvider.__init__ |
|
594 ccm.extra.SessionProvider.__init__ |
|
595 ccm.extra.__FileSnapshot.__init__ |
|
596 ccm.extra.__ProjectSnapshot.__init__ |
|
597 comments.CommentParser.__init__ |
|
598 configuration.Configuration.__init__ |
|
599 configuration.ConfigurationSet.__init__ |
|
600 configuration.HierarchicalConfiguration.__init__ |
|
601 configuration.NestedConfiguration.__init__ |
|
602 configuration.NestedConfigurationBuilder.__init__ |
|
603 configuration.PropertiesConfiguration.__init__ |
|
604 configuration.Specification.__init__ |
|
605 configuration.XMLConfiguration.__init__ |
|
606 configuration._Key.__init__ |
|
607 configuration_model.DataModel.__init__ |
|
608 configuration_model.GroupDef.__init__ |
|
609 configuration_model.Item.__init__ |
|
610 configuration_model.PropertyDef.__init__ |
|
611 delta_zip.DeltaZipBuilder.__init__ |
|
612 delta_zip.MD5SignatureBuilder.__init__ |
|
613 delta_zip.MD5SignatureBuilderEC.__init__ |
|
614 delta_zip.SignaturesDict.__init__ |
|
615 dependancygraph.Library.__init__ |
|
616 dependancygraph.ModuleGroup.__init__ |
|
617 dependancygraph.ReadIvyConfig.__init__ |
|
618 escapeddict.EscapedDict.__init__ |
|
619 fileutils.AbstractScanner.__init__ |
|
620 fileutils.FileScanner.__init__ |
|
621 fileutils.Lock.__init__ |
|
622 flash_config.FlashConfigurationWriter.__init__ |
|
623 flash_config.ImagePack.__init__ |
|
624 helium.documentation.APIDeltaWriter.__init__ |
|
625 helium.logger.Logger.__init__ |
|
626 helium.logger._CustomizePrint.__init__ |
|
627 helium.output.widgets.BoldText.__init__ |
|
628 helium.output.widgets.Box.__init__ |
|
629 helium.output.widgets.Event.__init__ |
|
630 helium.output.widgets.Footer.__init__ |
|
631 helium.output.widgets.Header.__init__ |
|
632 helium.output.widgets.Summary.__init__ |
|
633 helium.output.widgets.Text.__init__ |
|
634 helium.output.widgets.Widget.__init__ |
|
635 helium.outputer.Configuration.__init__ |
|
636 helium.outputer.XML2XHTML.__init__ |
|
637 imaker.ecore.ContainerBase.__init__ |
|
638 imaker.ecore.Reference.__init__ |
|
639 imaker.iqrf.Configuration.__init__ |
|
640 imaker.iqrf.ConfigurationElement.__init__ |
|
641 imaker.iqrf.IMaker.__init__ |
|
642 imaker.iqrf.Interface.__init__ |
|
643 imaker.iqrf.Result.__init__ |
|
644 imaker.iqrf.Setting.__init__ |
|
645 imaker.iqrf.Target.__init__ |
|
646 integration.quality.AbldWhatParser.__init__ |
|
647 integration.quality.InternalExportParser.__init__ |
|
648 integration.quality.PolicyValidator.__init__ |
|
649 integration.templatebuilder.TemplateBuilder.__init__ |
|
650 localisation.Languages.__init__ |
|
651 log2xml.AppendSummary.__init__ |
|
652 log2xml.ContentWriter.__init__ |
|
653 log2xml.LogWriter.__init__ |
|
654 log2xml.Stack.__init__ |
|
655 parsedatalistening.Build.__init__ |
|
656 parsedatalistening.Target.__init__ |
|
657 preparation.PreparationAction.__init__ |
|
658 preparation.PreparationBuilder.__init__ |
|
659 preparation.PreparationCheckout.__init__ |
|
660 preparation.PreparationSnapshot.__init__ |
|
661 preparation.PreparationUpdate.__init__ |
|
662 rom.IMakerRomBuilder.__init__ |
|
663 rom.Image.__init__ |
|
664 rom.RomBuilder.__init__ |
|
665 rtfutils.RTFUtils.__init__ |
|
666 sis.SisPreBuilder.__init__ |
|
667 symbian.log.Parser.__init__ |
|
668 symrec.MD5Updater.__init__ |
|
669 symrec.Metadata2TDD.__init__ |
|
670 symrec.MetadataMerger.__init__ |
|
671 symrec.ReleaseMetadata.__init__ |
|
672 symrec.ServicePack.__init__ |
|
673 symrec.ValidateReleaseMetadata.__init__ |
|
674 symrec.ValidateReleaseMetadataCached.__init__ |
|
675 symrec.ValidateTicklerReleaseMetadata.__init__ |
|
676 sysdef.api.Binary.__init__ |
|
677 sysdef.api.BuildLayer.__init__ |
|
678 sysdef.api.Configuration.__init__ |
|
679 sysdef.api.Layer.__init__ |
|
680 sysdef.api.Module.__init__ |
|
681 sysdef.api.Option.__init__ |
|
682 sysdef.api.SpecialInstruction.__init__ |
|
683 sysdef.api.SysDefElement.__init__ |
|
684 sysdef.api.SystemDefinition.__init__ |
|
685 sysdef.api.Target.__init__ |
|
686 sysdef.api.TargetList.__init__ |
|
687 sysdef.api.Task.__init__ |
|
688 sysdef.api.Unit.__init__ |
|
689 sysdef.api.UnitList.__init__ |
|
690 sysdef.api._UnitGroup.__init__ |
|
691 sysdef.io.FlashImageSizeWriter.__init__ |
|
692 sysdef.io.MakeWriter.__init__ |
|
693 sysdef.io.MakeWriter2.__init__ |
|
694 sysdef.io.MakeWriter3.__init__ |
|
695 validateoverlay.ValidateOverlayInfo.__init__ |
|
696 vbaconf.AbstractConfigConverter.__init__ |
|
697 vbaconf.ConfigConverter.__init__ |
|
698 vbaconf.ConfigConverterNewDelivery.__init__ |
|
699 vbaconf.new_delivery.config_wrapper.__init__ |
|
700 version.Version.__init__ |
|
701 virtualbuildarea.VirtualDir.__init__ |
|
702 virtualbuildarea.VirtualProject.__init__" class="py-name" href="#" onclick="return doclink('link-97', '__init__', 'link-97');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt> |
|
703 <a name="L181"></a><tt class="py-lineno">181</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deliveryinput</tt> <tt class="py-op">=</tt> <tt class="py-name">deliveryinput</tt> </tt> |
|
704 <a name="L182"></a><tt class="py-lineno">182</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_prepinput</tt> <tt class="py-op">=</tt> <tt class="py-name">prepinput</tt> </tt> |
|
705 </div><a name="L183"></a><tt class="py-lineno">183</tt> <tt class="py-line"> </tt> |
|
706 <a name="ConfigConverter._get_projects_configs"></a><div id="ConfigConverter._get_projects_configs-def"><a name="L184"></a><tt class="py-lineno">184</tt> <a class="py-toggle" href="#" id="ConfigConverter._get_projects_configs-toggle" onclick="return toggle('ConfigConverter._get_projects_configs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf.ConfigConverter-class.html#_get_projects_configs">_get_projects_configs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
707 </div><div id="ConfigConverter._get_projects_configs-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ConfigConverter._get_projects_configs-expanded"><a name="L185"></a><tt class="py-lineno">185</tt> <tt class="py-line"> <tt class="py-comment"># Loading delivery content</tt> </tt> |
|
708 <a name="L186"></a><tt class="py-lineno">186</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">delivery</tt> <tt class="py-op">=</tt> <tt class="py-name">amara</tt><tt class="py-op">.</tt><tt id="link-98" class="py-name"><a title="bsf.BSF.parse |
|
709 symbian.log.Parser.parse" class="py-name" href="#" onclick="return doclink('link-98', 'parse', 'link-5');">parse</a></tt><tt class="py-op">(</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deliveryinput</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
710 <a name="L187"></a><tt class="py-lineno">187</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">delivery</tt><tt class="py-op">.</tt><tt class="py-name">xml_xpath</tt><tt class="py-op">(</tt><tt class="py-string">'/deliveryConfiguration/*'</tt><tt class="py-op">)</tt> </tt> |
|
711 </div><a name="L188"></a><tt class="py-lineno">188</tt> <tt class="py-line"> </tt> |
|
712 <a name="ConfigConverter._get_prep_configs"></a><div id="ConfigConverter._get_prep_configs-def"><a name="L189"></a><tt class="py-lineno">189</tt> <a class="py-toggle" href="#" id="ConfigConverter._get_prep_configs-toggle" onclick="return toggle('ConfigConverter._get_prep_configs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf.ConfigConverter-class.html#_get_prep_configs">_get_prep_configs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
713 </div><div id="ConfigConverter._get_prep_configs-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ConfigConverter._get_prep_configs-expanded"><a name="L190"></a><tt class="py-lineno">190</tt> <tt class="py-line"> <tt class="py-comment"># loading prep file </tt> </tt> |
|
714 <a name="L191"></a><tt class="py-lineno">191</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-name">prep</tt> <tt class="py-op">=</tt> <tt class="py-name">amara</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="bsf.BSF.parse |
|
715 symbian.log.Parser.parse" class="py-name" href="#" onclick="return doclink('link-99', 'parse', 'link-5');">parse</a></tt><tt class="py-op">(</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_prepinput</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
716 <a name="L192"></a><tt class="py-lineno">192</tt> <tt class="py-line"> <tt class="py-keyword">class</tt> <tt class="py-def-name">__ConfigWrapper</tt><tt class="py-op">:</tt> </tt> |
|
717 <a name="L193"></a><tt class="py-lineno">193</tt> <tt class="py-line"> <tt class="py-docstring">""" wrapper object to access directly conf property. """</tt> </tt> |
|
718 <a name="L194"></a><tt class="py-lineno">194</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">__init__</tt><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">source</tt><tt class="py-op">,</tt> <tt class="py-param">config</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
719 <a name="L195"></a><tt class="py-lineno">195</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">basedir</tt> <tt class="py-op">=</tt> <tt class="py-name">source</tt><tt class="py-op">.</tt><tt class="py-name">basedir</tt> </tt> |
|
720 <a name="L196"></a><tt class="py-lineno">196</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-100" class="py-name"><a title="buildtools.Command.name |
|
721 ccm.FourPartName.name |
|
722 symrec.ServicePack.name |
|
723 sysdef.api.Configuration.name |
|
724 sysdef.api.Option.name |
|
725 sysdef.api.SpecialInstruction.name |
|
726 sysdef.api.Target.name |
|
727 sysdef.api.TargetList.name |
|
728 sysdef.api.Unit.name |
|
729 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-100', 'name', 'link-11');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt id="link-101" class="py-name"><a title="buildtools.Command.name |
|
730 ccm.FourPartName.name |
|
731 symrec.ServicePack.name |
|
732 sysdef.api.Configuration.name |
|
733 sysdef.api.Option.name |
|
734 sysdef.api.SpecialInstruction.name |
|
735 sysdef.api.Target.name |
|
736 sysdef.api.TargetList.name |
|
737 sysdef.api.Unit.name |
|
738 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-101', 'name', 'link-11');">name</a></tt> </tt> |
|
739 <a name="L197"></a><tt class="py-lineno">197</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-102" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-102', 'copy', 'link-8');">copy</a></tt><tt class="py-op">,</tt> <tt class="py-string">'dest'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
740 <a name="L198"></a><tt class="py-lineno">198</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dest</tt> <tt class="py-op">=</tt> <tt id="link-103" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-103', 'copy', 'link-8');">copy</a></tt><tt class="py-op">.</tt><tt class="py-name">dest</tt> </tt> |
|
741 </div></div><a name="L199"></a><tt class="py-lineno">199</tt> <tt class="py-line"> </tt> |
|
742 <a name="L200"></a><tt class="py-lineno">200</tt> <tt class="py-line"> <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt> |
|
743 <a name="L201"></a><tt class="py-lineno">201</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt class="py-name">source</tt> <tt class="py-keyword">in</tt> <tt class="py-name">prep</tt><tt class="py-op">.</tt><tt class="py-name">xml_xpath</tt><tt class="py-op">(</tt><tt class="py-string">'/prepSpec/source'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
744 <a name="L202"></a><tt class="py-lineno">202</tt> <tt class="py-line"> <tt class="py-keyword">for</tt> <tt id="link-104" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-104', 'copy', 'link-8');">copy</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">source</tt><tt class="py-op">.</tt><tt class="py-name">xml_xpath</tt><tt class="py-op">(</tt><tt class="py-string">'./copy'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
745 <a name="L203"></a><tt class="py-lineno">203</tt> <tt class="py-line"> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt id="link-105" class="py-name" targets="Method ccm.Folder.append()=ccm.Folder-class.html#append,Method ccm.Task.append()=ccm.Task-class.html#append"><a title="ccm.Folder.append |
|
746 ccm.Task.append" class="py-name" href="#" onclick="return doclink('link-105', 'append', 'link-105');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">__ConfigWrapper</tt><tt class="py-op">(</tt><tt class="py-name">source</tt><tt class="py-op">,</tt> <tt id="link-106" class="py-name"><a title="ccm.Folder.copy" class="py-name" href="#" onclick="return doclink('link-106', 'copy', 'link-8');">copy</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
747 <a name="L204"></a><tt class="py-lineno">204</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-name">result</tt> </tt> |
|
748 </div></div><a name="L205"></a><tt class="py-lineno">205</tt> <tt class="py-line"> </tt> |
|
749 <a name="L206"></a><tt class="py-lineno">206</tt> <tt class="py-line"> </tt> |
|
750 <a name="ConfigConverterNewDelivery"></a><div id="ConfigConverterNewDelivery-def"><a name="L207"></a><tt class="py-lineno">207</tt> <a class="py-toggle" href="#" id="ConfigConverterNewDelivery-toggle" onclick="return toggle('ConfigConverterNewDelivery');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="vbaconf.ConfigConverterNewDelivery-class.html">ConfigConverterNewDelivery</a><tt class="py-op">(</tt><tt class="py-base-class">ConfigConverter</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
751 </div><div id="ConfigConverterNewDelivery-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ConfigConverterNewDelivery-expanded"><a name="ConfigConverterNewDelivery.__init__"></a><div id="ConfigConverterNewDelivery.__init__-def"><a name="L208"></a><tt class="py-lineno">208</tt> <a class="py-toggle" href="#" id="ConfigConverterNewDelivery.__init__-toggle" onclick="return toggle('ConfigConverterNewDelivery.__init__');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf.ConfigConverterNewDelivery-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">deliveryinput</tt><tt class="py-op">,</tt> <tt class="py-param">prepinput</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
752 </div><div id="ConfigConverterNewDelivery.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ConfigConverterNewDelivery.__init__-expanded"><a name="L209"></a><tt class="py-lineno">209</tt> <tt class="py-line"> <tt id="link-107" class="py-name" targets="Class vbaconf.ConfigConverter=vbaconf.ConfigConverter-class.html"><a title="vbaconf.ConfigConverter" class="py-name" href="#" onclick="return doclink('link-107', 'ConfigConverter', 'link-107');">ConfigConverter</a></tt><tt class="py-op">.</tt><tt id="link-108" class="py-name"><a title="ant.AntHandler.__init__ |
|
753 archive.builders.ArchivePreBuilder.__init__ |
|
754 archive.mappers.DefaultMapper.__init__ |
|
755 archive.mappers.EPLPolicyRemoverMapper.__init__ |
|
756 archive.mappers.Mapper.__init__ |
|
757 archive.mappers.PolicyMapper.__init__ |
|
758 archive.mappers.PolicyRemoverMapper.__init__ |
|
759 archive.mappers.SFPolicyRemoverMapper.__init__ |
|
760 archive.scanners.AbldWhatScanner.__init__ |
|
761 archive.scanners.FileSystemScanner.__init__ |
|
762 archive.scanners.InputFileScanner.__init__ |
|
763 archive.scanners.Scanner.__init__ |
|
764 archive.selectors.DistributionPolicySelector.__init__ |
|
765 archive.selectors.SymbianPolicySelector.__init__ |
|
766 archive.tools.Remover.__init__ |
|
767 archive.tools.SevenZipArchiver.__init__ |
|
768 archive.tools.ZipArchiver.__init__ |
|
769 ats3.Ats3TestPlan.__init__ |
|
770 ats3.Configuration.__init__ |
|
771 ats3.aste.AsteComponentParser.__init__ |
|
772 ats3.aste.AsteTestDropGenerator.__init__ |
|
773 ats3.aste.AsteTestPlan.__init__ |
|
774 ats3.aste.Configuration.__init__ |
|
775 ats3.atsconfigparser.ATSConfigParser.__init__ |
|
776 ats3.atsconfigparser.TestXML.__init__ |
|
777 ats3.dropgenerator.Ats3TestDropGenerator.__init__ |
|
778 ats3.parsers.BldFileParser.__init__ |
|
779 ats3.parsers.CppParser.__init__ |
|
780 ats3.parsers.MmpFileParser.__init__ |
|
781 ats3.parsers.PkgFileParser.__init__ |
|
782 ats3.testconfigurator.Ats3ComponentParser.__init__ |
|
783 bsf.BSF.__init__ |
|
784 build.ec.history.HistoryFileManager.__init__ |
|
785 build.io.AbldLogWhatReader.__init__ |
|
786 build.io.RombuildLogBinarySizeReader.__init__ |
|
787 build.model.BOM.__init__ |
|
788 build.model.BOMDeltaXMLWriter.__init__ |
|
789 build.model.BOMXMLWriter.__init__ |
|
790 build.model.Fix.__init__ |
|
791 build.model.PCPError.__init__ |
|
792 build.model.Project.__init__ |
|
793 build.model.SessionCreator.__init__ |
|
794 build.model.TAChange.__init__ |
|
795 build.model.TSWError.__init__ |
|
796 build.model.Task.__init__ |
|
797 buildtools.AbstractOutputWriter.__init__ |
|
798 buildtools.AntWriter.__init__ |
|
799 buildtools.Command.__init__ |
|
800 buildtools.CommandList.__init__ |
|
801 buildtools.Copy.__init__ |
|
802 buildtools.Delete.__init__ |
|
803 buildtools.EBSWriter.__init__ |
|
804 buildtools.MakeWriter.__init__ |
|
805 buildtools.PreBuilder.__init__ |
|
806 buildtools.StringWriter.__init__ |
|
807 ccm.AbstractSession.__init__ |
|
808 ccm.AttributeNameListResult.__init__ |
|
809 ccm.CCMException.__init__ |
|
810 ccm.CCMObject.__init__ |
|
811 ccm.ConflictsResult.__init__ |
|
812 ccm.CreateNewTaskResult.__init__ |
|
813 ccm.DataMapperListResult.__init__ |
|
814 ccm.Dir.__init__ |
|
815 ccm.File.__init__ |
|
816 ccm.FinduseResult.__init__ |
|
817 ccm.Folder.__init__ |
|
818 ccm.FolderCopyResult.__init__ |
|
819 ccm.FourPartName.__init__ |
|
820 ccm.InvalidFourPartNameException.__init__ |
|
821 ccm.ObjectListResult.__init__ |
|
822 ccm.Project.__init__ |
|
823 ccm.ProjectCheckoutResult.__init__ |
|
824 ccm.ProjectPurposeResult.__init__ |
|
825 ccm.Query.__init__ |
|
826 ccm.Releasedef.__init__ |
|
827 ccm.Result.__init__ |
|
828 ccm.Session.__init__ |
|
829 ccm.SessionPool.__init__ |
|
830 ccm.Task.__init__ |
|
831 ccm.UpdatePropertiesRefreshResult.__init__ |
|
832 ccm.UpdateResult.__init__ |
|
833 ccm.UpdateResultSimple.__init__ |
|
834 ccm.UpdateTemplate.__init__ |
|
835 ccm.UpdateTemplateInformation.__init__ |
|
836 ccm.WorkAreaInfoResult.__init__ |
|
837 ccm.conflict.Conflict.__init__ |
|
838 ccm.conflict.MultipleObjectInBaselineConflict.__init__ |
|
839 ccm.conflict.ObjectAndBaselineConflict.__init__ |
|
840 ccm.conflict.ObjectAndTask.__init__ |
|
841 ccm.conflict.ObjectNotFoundInBaselineConflict.__init__ |
|
842 ccm.conflict.TaskModel.__init__ |
|
843 ccm.extra.CCMExtraException.__init__ |
|
844 ccm.extra.CachedProxySession.__init__ |
|
845 ccm.extra.CachedSessionProvider.__init__ |
|
846 ccm.extra.SessionProvider.__init__ |
|
847 ccm.extra.__FileSnapshot.__init__ |
|
848 ccm.extra.__ProjectSnapshot.__init__ |
|
849 comments.CommentParser.__init__ |
|
850 configuration.Configuration.__init__ |
|
851 configuration.ConfigurationSet.__init__ |
|
852 configuration.HierarchicalConfiguration.__init__ |
|
853 configuration.NestedConfiguration.__init__ |
|
854 configuration.NestedConfigurationBuilder.__init__ |
|
855 configuration.PropertiesConfiguration.__init__ |
|
856 configuration.Specification.__init__ |
|
857 configuration.XMLConfiguration.__init__ |
|
858 configuration._Key.__init__ |
|
859 configuration_model.DataModel.__init__ |
|
860 configuration_model.GroupDef.__init__ |
|
861 configuration_model.Item.__init__ |
|
862 configuration_model.PropertyDef.__init__ |
|
863 delta_zip.DeltaZipBuilder.__init__ |
|
864 delta_zip.MD5SignatureBuilder.__init__ |
|
865 delta_zip.MD5SignatureBuilderEC.__init__ |
|
866 delta_zip.SignaturesDict.__init__ |
|
867 dependancygraph.Library.__init__ |
|
868 dependancygraph.ModuleGroup.__init__ |
|
869 dependancygraph.ReadIvyConfig.__init__ |
|
870 escapeddict.EscapedDict.__init__ |
|
871 fileutils.AbstractScanner.__init__ |
|
872 fileutils.FileScanner.__init__ |
|
873 fileutils.Lock.__init__ |
|
874 flash_config.FlashConfigurationWriter.__init__ |
|
875 flash_config.ImagePack.__init__ |
|
876 helium.documentation.APIDeltaWriter.__init__ |
|
877 helium.logger.Logger.__init__ |
|
878 helium.logger._CustomizePrint.__init__ |
|
879 helium.output.widgets.BoldText.__init__ |
|
880 helium.output.widgets.Box.__init__ |
|
881 helium.output.widgets.Event.__init__ |
|
882 helium.output.widgets.Footer.__init__ |
|
883 helium.output.widgets.Header.__init__ |
|
884 helium.output.widgets.Summary.__init__ |
|
885 helium.output.widgets.Text.__init__ |
|
886 helium.output.widgets.Widget.__init__ |
|
887 helium.outputer.Configuration.__init__ |
|
888 helium.outputer.XML2XHTML.__init__ |
|
889 imaker.ecore.ContainerBase.__init__ |
|
890 imaker.ecore.Reference.__init__ |
|
891 imaker.iqrf.Configuration.__init__ |
|
892 imaker.iqrf.ConfigurationElement.__init__ |
|
893 imaker.iqrf.IMaker.__init__ |
|
894 imaker.iqrf.Interface.__init__ |
|
895 imaker.iqrf.Result.__init__ |
|
896 imaker.iqrf.Setting.__init__ |
|
897 imaker.iqrf.Target.__init__ |
|
898 integration.quality.AbldWhatParser.__init__ |
|
899 integration.quality.InternalExportParser.__init__ |
|
900 integration.quality.PolicyValidator.__init__ |
|
901 integration.templatebuilder.TemplateBuilder.__init__ |
|
902 localisation.Languages.__init__ |
|
903 log2xml.AppendSummary.__init__ |
|
904 log2xml.ContentWriter.__init__ |
|
905 log2xml.LogWriter.__init__ |
|
906 log2xml.Stack.__init__ |
|
907 parsedatalistening.Build.__init__ |
|
908 parsedatalistening.Target.__init__ |
|
909 preparation.PreparationAction.__init__ |
|
910 preparation.PreparationBuilder.__init__ |
|
911 preparation.PreparationCheckout.__init__ |
|
912 preparation.PreparationSnapshot.__init__ |
|
913 preparation.PreparationUpdate.__init__ |
|
914 rom.IMakerRomBuilder.__init__ |
|
915 rom.Image.__init__ |
|
916 rom.RomBuilder.__init__ |
|
917 rtfutils.RTFUtils.__init__ |
|
918 sis.SisPreBuilder.__init__ |
|
919 symbian.log.Parser.__init__ |
|
920 symrec.MD5Updater.__init__ |
|
921 symrec.Metadata2TDD.__init__ |
|
922 symrec.MetadataMerger.__init__ |
|
923 symrec.ReleaseMetadata.__init__ |
|
924 symrec.ServicePack.__init__ |
|
925 symrec.ValidateReleaseMetadata.__init__ |
|
926 symrec.ValidateReleaseMetadataCached.__init__ |
|
927 symrec.ValidateTicklerReleaseMetadata.__init__ |
|
928 sysdef.api.Binary.__init__ |
|
929 sysdef.api.BuildLayer.__init__ |
|
930 sysdef.api.Configuration.__init__ |
|
931 sysdef.api.Layer.__init__ |
|
932 sysdef.api.Module.__init__ |
|
933 sysdef.api.Option.__init__ |
|
934 sysdef.api.SpecialInstruction.__init__ |
|
935 sysdef.api.SysDefElement.__init__ |
|
936 sysdef.api.SystemDefinition.__init__ |
|
937 sysdef.api.Target.__init__ |
|
938 sysdef.api.TargetList.__init__ |
|
939 sysdef.api.Task.__init__ |
|
940 sysdef.api.Unit.__init__ |
|
941 sysdef.api.UnitList.__init__ |
|
942 sysdef.api._UnitGroup.__init__ |
|
943 sysdef.io.FlashImageSizeWriter.__init__ |
|
944 sysdef.io.MakeWriter.__init__ |
|
945 sysdef.io.MakeWriter2.__init__ |
|
946 sysdef.io.MakeWriter3.__init__ |
|
947 validateoverlay.ValidateOverlayInfo.__init__ |
|
948 vbaconf.AbstractConfigConverter.__init__ |
|
949 vbaconf.ConfigConverter.__init__ |
|
950 vbaconf.ConfigConverterNewDelivery.__init__ |
|
951 vbaconf.new_delivery.config_wrapper.__init__ |
|
952 version.Version.__init__ |
|
953 virtualbuildarea.VirtualDir.__init__ |
|
954 virtualbuildarea.VirtualProject.__init__" class="py-name" href="#" onclick="return doclink('link-108', '__init__', 'link-97');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">deliveryinput</tt><tt class="py-op">,</tt> <tt class="py-name">prepinput</tt><tt class="py-op">)</tt> </tt> |
|
955 <a name="L210"></a><tt class="py-lineno">210</tt> <tt class="py-line"> <tt class="py-name">configBuilder</tt> <tt class="py-op">=</tt> <tt id="link-109" class="py-name"><a title="configuration" class="py-name" href="#" onclick="return doclink('link-109', 'configuration', 'link-3');">configuration</a></tt><tt class="py-op">.</tt><tt id="link-110" class="py-name" targets="Class configuration.NestedConfigurationBuilder=configuration.NestedConfigurationBuilder-class.html"><a title="configuration.NestedConfigurationBuilder" class="py-name" href="#" onclick="return doclink('link-110', 'NestedConfigurationBuilder', 'link-110');">NestedConfigurationBuilder</a></tt><tt class="py-op">(</tt><tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_deliveryinput</tt><tt class="py-op">,</tt> <tt class="py-string">'r'</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt> |
|
956 <a name="L211"></a><tt class="py-lineno">211</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__configs</tt> <tt class="py-op">=</tt> <tt class="py-name">configBuilder</tt><tt class="py-op">.</tt><tt id="link-111" class="py-name" targets="Method configuration.ConfigurationBuilder.getConfiguration()=configuration.ConfigurationBuilder-class.html#getConfiguration,Method configuration.NestedConfigurationBuilder.getConfiguration()=configuration.NestedConfigurationBuilder-class.html#getConfiguration"><a title="configuration.ConfigurationBuilder.getConfiguration |
|
957 configuration.NestedConfigurationBuilder.getConfiguration" class="py-name" href="#" onclick="return doclink('link-111', 'getConfiguration', 'link-111');">getConfiguration</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-112" 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 |
|
958 configuration.NestedConfigurationBuilder.getConfigurations" class="py-name" href="#" onclick="return doclink('link-112', 'getConfigurations', 'link-112');">getConfigurations</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt> |
|
959 </div><a name="L212"></a><tt class="py-lineno">212</tt> <tt class="py-line"> </tt> |
|
960 <a name="ConfigConverterNewDelivery._get_projects_configs"></a><div id="ConfigConverterNewDelivery._get_projects_configs-def"><a name="L213"></a><tt class="py-lineno">213</tt> <a class="py-toggle" href="#" id="ConfigConverterNewDelivery._get_projects_configs-toggle" onclick="return toggle('ConfigConverterNewDelivery._get_projects_configs');">-</a><tt class="py-line"> <tt class="py-keyword">def</tt> <a class="py-def-name" href="vbaconf.ConfigConverterNewDelivery-class.html#_get_projects_configs">_get_projects_configs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt> |
|
961 </div><div id="ConfigConverterNewDelivery._get_projects_configs-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ConfigConverterNewDelivery._get_projects_configs-expanded"><a name="L214"></a><tt class="py-lineno">214</tt> <tt class="py-line"> <tt class="py-keyword">class</tt> <tt class="py-def-name">__ConfigWrapper</tt><tt class="py-op">:</tt> </tt> |
|
962 <a name="L215"></a><tt class="py-lineno">215</tt> <tt class="py-line"> <tt class="py-docstring">""" wrapper object to access directly conf property. """</tt> </tt> |
|
963 <a name="L216"></a><tt class="py-lineno">216</tt> <tt class="py-line"> <tt class="py-keyword">def</tt> <tt class="py-def-name">__init__</tt><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> |
|
964 <a name="L217"></a><tt class="py-lineno">217</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-113" class="py-name"><a title="ccm.ProjectCheckoutResult.project" class="py-name" href="#" onclick="return doclink('link-113', 'project', 'link-14');">project</a></tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">.</tt><tt id="link-114" class="py-name"><a title="buildtools.Command.name |
|
965 ccm.FourPartName.name |
|
966 symrec.ServicePack.name |
|
967 sysdef.api.Configuration.name |
|
968 sysdef.api.Option.name |
|
969 sysdef.api.SpecialInstruction.name |
|
970 sysdef.api.Target.name |
|
971 sysdef.api.TargetList.name |
|
972 sysdef.api.Unit.name |
|
973 sysdef.api._UnitGroup.name" class="py-name" href="#" onclick="return doclink('link-114', 'name', 'link-11');">name</a></tt> </tt> |
|
974 <a name="L218"></a><tt class="py-lineno">218</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dir</tt> <tt class="py-op">=</tt> <tt class="py-name">config</tt><tt class="py-op">[</tt><tt class="py-string">'dir'</tt><tt class="py-op">]</tt> </tt> |
|
975 </div></div><a name="L219"></a><tt class="py-lineno">219</tt> <tt class="py-line"> <tt class="py-comment"># Loading delivery content</tt> </tt> |
|
976 <a name="L220"></a><tt class="py-lineno">220</tt> <tt class="py-line"><tt class="py-comment"></tt> <tt class="py-keyword">return</tt> <tt class="py-name">map</tt><tt class="py-op">(</tt><tt class="py-keyword">lambda</tt> <tt class="py-name">c</tt><tt class="py-op">:</tt> <tt class="py-name">__ConfigWrapper</tt><tt class="py-op">(</tt><tt class="py-name">c</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__configs</tt><tt class="py-op">)</tt> </tt> |
|
977 </div></div><a name="L221"></a><tt class="py-lineno">221</tt> <tt class="py-line"> </tt><script type="text/javascript"> |
|
978 <!-- |
|
979 expandto(location.href); |
|
980 // --> |
|
981 </script> |
|
982 </pre> |
|
983 <br /> |
|
984 <!-- ==================== NAVIGATION BAR ==================== --> |
|
985 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
986 bgcolor="#a0c0ff" cellspacing="0"> |
|
987 <tr valign="middle"> |
|
988 |
|
989 <!-- Tree link --> |
|
990 <th> <a |
|
991 href="module-tree.html">Trees</a> </th> |
|
992 |
|
993 <!-- Index link --> |
|
994 <th> <a |
|
995 href="identifier-index.html">Indices</a> </th> |
|
996 |
|
997 <!-- Help link --> |
|
998 <th> <a |
|
999 href="help.html">Help</a> </th> |
|
1000 |
|
1001 <th class="navbar" width="100%"></th> |
|
1002 </tr> |
|
1003 </table> |
|
1004 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
1005 <tr> |
|
1006 <td align="left" class="footer"> |
|
1007 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:22 2009 |
|
1008 </td> |
|
1009 <td align="right" class="footer"> |
|
1010 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
1011 </td> |
|
1012 </tr> |
|
1013 </table> |
|
1014 |
|
1015 <script type="text/javascript"> |
|
1016 <!-- |
|
1017 // Private objects are initially displayed (because if |
|
1018 // javascript is turned off then we want them to be |
|
1019 // visible); but by default, we want to hide them. So hide |
|
1020 // them unless we have a cookie that says to show them. |
|
1021 checkCookie() |
|
1022 // --> |
|
1023 </script> |
|
1024 |
|
1025 </body> |
|
1026 </html> |