doc/api/helium/target-sf-diamondize-bom.html
changeset 627 56a1d97e7c73
parent 432 f2ddfa555b0f
equal deleted inserted replaced
607:3c858aa7a023 627:56a1d97e7c73
    80 
    80 
    81     
    81     
    82 <h2>Target sf-diamondize-bom</h2>
    82 <h2>Target sf-diamondize-bom</h2>
    83 
    83 
    84 <p><b>Location</b></p>
    84 <p><b>Location</b></p>
    85 <p>    <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.xml#L420">D:\maintools\sf-config\common\build.xml:420:</a></tt>  
    85 <p>    <tt class="docutils literal"><a href="/d:/maintools/sf-config/common/build.xml#L430">d:\maintools\sf-config\common\build.xml:430:</a></tt>  
    86 </p>
    86 </p>
    87 
    87 
    88 <p><b>Conditional execution</b></p>        
    88 <p><b>Conditional execution</b></p>        
    89 <p>No conditions on target execution.</p>
    89 <p>No conditions on target execution.</p>
    90 <hr/>
    90 <hr/>
   127 <h3>Target dependencies</h3>
   127 <h3>Target dependencies</h3>
   128 <p align="center">
   128 <p align="center">
   129 <img src="target-sf-diamondize-bom.dot.png" alt="sf-diamondize-bom dependencies" usemap="#dependencies"
   129 <img src="target-sf-diamondize-bom.dot.png" alt="sf-diamondize-bom dependencies" usemap="#dependencies"
   130      style="border-style: none"/>
   130      style="border-style: none"/>
   131 <map name="dependencies" id="dependencies">
   131 <map name="dependencies" id="dependencies">
   132 <area shape="rect" id="node1" href="target-sf-diamondize-bom.html" title="sf&#45;diamondize&#45;bom" alt="" coords="204,5,359,53">
   132 <area shape="rect" id="node1" href="target-sf-diamondize-bom.html" title="sf&#45;diamondize&#45;bom" alt="" coords="239,41,393,89">
   133 <area shape="rect" id="node2" href="target-sf-prebuild-noprep.html" title="sf&#45;prebuild&#45;noprep" alt="" coords="7,5,153,53">
   133 <area shape="rect" id="node6" href="target-sf-record-proj-conf-bom.html" title="sf&#45;record&#45;proj&#45;conf&#45;bom" alt="" coords="443,41,627,89">
       
   134 <area shape="rect" id="node2" href="target-sf-prebuild-noprep.html" title="sf&#45;prebuild&#45;noprep" alt="" coords="24,5,171,53">
       
   135 <area shape="rect" id="node4" href="target-sf-compare-to-baseline.html" title="sf&#45;compare&#45;to&#45;baseline" alt="" coords="7,77,188,125">
   134 </map>
   136 </map>
   135 </p>
   137 </p>
   136 <hr/>
   138 <hr/>
   137 
   139 
   138 
   140 
   139 <h3>Source code</h3>
   141 <h3>Source code</h3>
   140 <pre>
   142 <pre>
   141     &lt;target name=&quot;sf-diamondize-bom&quot;&gt;
   143     &lt;target name=&quot;sf-diamondize-bom&quot; depends=&quot;sf-record-proj-conf-bom&quot;&gt;
   142         &lt;if&gt;
   144         &lt;fmpp sourceFile=&quot;${sf.common.config.dir}/templates/build-info.xml.ftl&quot; outputFile=&quot;${build.drive}/output/logs/sf-diamondize-bom.xml&quot;&gt;
   143             &lt;istrue value=&quot;${sf.spec.publish.enable}&quot;/&gt;
   145             &lt;data expandProperties=&quot;yes&quot;&gt;
   144             &lt;then&gt;
   146                 ant: antProperties()
   145                 &lt;fmpp sourceFile=&quot;${sf.common.config.dir}/templates/build-info.xml.ftl&quot; outputFile=&quot;${build.drive}/output/logs/sf-diamondize-bom.xml&quot;&gt;
   147                 config: csv(${build.drive}/output/logs/BOM/config.csv,{separator:',',headers:[loc,dst,rev]})
   146                     &lt;data expandProperties=&quot;yes&quot;&gt;
   148                 project: csv(${build.drive}/output/logs/BOM/project.csv,{separator:',',headers:[loc,dst,rev]})
   147                         ant: antProperties()
   149                 baseline: slicedText(${build.drive}/output/logs/BOM/baseline.txt,{trim})
   148                         config: csv(${build.drive}/output/logs/BOM/config.csv,{separator:',',headers:[loc,dst,rev]})
   150                 toolsbaseline: slicedText(${build.drive}/output/logs/BOM/toolsbaseline.txt,{trim})
   149                         project: csv(${build.drive}/output/logs/BOM/project.csv,{separator:',',headers:[loc,dst,rev]})
   151                 sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,type,rev,sysdef]})              
   150                         baseline: slicedText(${build.drive}/output/logs/BOM/baseline.txt,{trim})
   152             &lt;/data&gt;
   151                         toolsbaseline: slicedText(${build.drive}/output/logs/BOM/toolsbaseline.txt,{trim})
   153         &lt;/fmpp&gt;
   152                         sources: csv(${build.drive}/output/logs/BOM/sources.csv,{separator:',',headers:[loc,dst,type,rev,sysdef]})              
   154         &lt;!-- Make a copy in BOM dir --&gt;
   153                     &lt;/data&gt;
   155         &lt;copy file=&quot;${build.drive}/output/logs/sf-diamondize-bom.xml&quot; tofile=&quot;${build.log.dir}/BOM/build-info.xml&quot;/&gt;
   154                 &lt;/fmpp&gt;
       
   155                 &lt;!-- Make a copy in BOM dir --&gt;
       
   156                 &lt;copy file=&quot;${build.drive}/output/logs/sf-diamondize-bom.xml&quot; tofile=&quot;${build.log.dir}/BOM/build-info.xml&quot;/&gt;
       
   157             &lt;/then&gt;
       
   158         &lt;/if&gt;
       
   159     &lt;/target&gt;
   156     &lt;/target&gt;
   160 </pre>
   157 </pre>
   161 
   158 
   162 
   159 
   163     <hr/>
   160     <hr/>