|
1 |
|
2 <?xml version="1.0" encoding="utf-8"?> |
|
3 <!DOCTYPE HTML PUBLIC "-//w3c//dtd xhtml 1.0 strict//en" |
|
4 "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 |
|
7 |
|
8 <head> |
|
9 <meta name="keywords" content="helium"/> |
|
10 <meta http-equiv="content-type" content="text/html+xml; charset=iso-8859-1"/> |
|
11 <link rel="stylesheet" href="stylesheet.css" type="text/css" /> |
|
12 <script type="text/javascript"> |
|
13 var DOCUMENTATION_OPTIONS = { |
|
14 URL_ROOT: '', |
|
15 VERSION: '0' |
|
16 }; |
|
17 </script> |
|
18 <script type="text/javascript" src="../_static/jquery.js"></script> |
|
19 |
|
20 <script type="text/javascript" src="../_static/interface.js"></script> |
|
21 <script type="text/javascript" src="../_static/doctools.js"></script> |
|
22 |
|
23 <title>Target sf-zip-logs</title> |
|
24 </head> |
|
25 |
|
26 |
|
27 <body> |
|
28 <!-- ========= start of top navbar ======= --> |
|
29 <a name="navbar_top"><!-- --></a> |
|
30 <a href="#skip-navbar_top" title="skip navigation links"></a> |
|
31 <table border="0" width="100%" cellpadding="1" cellspacing="0" summary=""> |
|
32 <tr> |
|
33 <td colspan="2" bgcolor="#eeeeff" class="navbarcell1"> |
|
34 <a name="navbar_top_firstrow"><!-- --></a> |
|
35 <table border="0" cellpadding="0" cellspacing="3" summary=""> |
|
36 <tr align="center" valign="top"> |
|
37 <td bgcolor="#ffffff" class="navbarcell1">  <a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font> </a></td> |
|
38 |
|
39 <td bgcolor="#ffffff" class="navbarcell1"> <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a> </td> |
|
40 |
|
41 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a> </td> |
|
42 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a> </td> |
|
43 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="help.html"><font class="navbarfont1"><b>help</b></font></a> </td> |
|
44 </tr> |
|
45 </table> |
|
46 </td> |
|
47 <td align="right" valign="top" rowspan="3"><em> |
|
48 <b>Helium API</b></em> |
|
49 |
|
50 </td> |
|
51 </tr> |
|
52 |
|
53 <tr> |
|
54 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
55  prev  |
|
56  next</font></td> |
|
57 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
58 <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>   |
|
59  <a href="overview-summary.html" target="_top"><b>no frames</b></a>   |
|
60 |
|
61  <script type="text/javascript"> |
|
62 <!-- |
|
63 if(window==top) { |
|
64 document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>'); |
|
65 } |
|
66 //--> |
|
67 </script> |
|
68 <noscript> |
|
69 <a href="allclasses-noframe.html"><b>all classes</b></a> |
|
70 </noscript> |
|
71 |
|
72 |
|
73 </font></td> |
|
74 </tr> |
|
75 </table> |
|
76 <a name="skip-navbar_top"></a> |
|
77 <!-- ========= end of top navbar ========= --> |
|
78 <hr/> |
|
79 |
|
80 |
|
81 |
|
82 <h2>Target sf-zip-logs</h2> |
|
83 |
|
84 <p><b>Location</b></p> |
|
85 <p> <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.postbuild.xml#L480">D:\maintools\sf-config\common\build.postbuild.xml:480:</a></tt> |
|
86 </p> |
|
87 |
|
88 <p><b>Conditional execution</b></p> |
|
89 <p>No conditions on target execution.</p> |
|
90 <hr/> |
|
91 |
|
92 <h3>Description</h3> |
|
93 <p> |
|
94 <p>package all logs into zipfile before publish</p></p> |
|
95 <p/> |
|
96 <hr/> |
|
97 |
|
98 |
|
99 |
|
100 |
|
101 <h3>Property dependencies</h3> |
|
102 |
|
103 |
|
104 <p> |
|
105 <table class="docutils" width="50%"> |
|
106 <tr> |
|
107 <th class="head">Name</th><th class="head">Edit status</th> |
|
108 </tr> |
|
109 <tr> |
|
110 <td colspan="2">User editable properties</td> |
|
111 </tr> |
|
112 <tr> |
|
113 <td><a href="property-build.drive.html" title="<p>Substed drive where the build is performed. if not defined then helium should search next available build drive letter and subst autometically</p>" target="classframe"><tt class="docutils literal">build.drive</tt></a></td><td><a href="help.html" title="Help" target="classframe">recommended</a></td> |
|
114 </tr> |
|
115 <tr> |
|
116 <td colspan="2">Internal properties</td> |
|
117 </tr> |
|
118 <tr> |
|
119 <td><a href="property-build.id.html" title="<p>A unique ID for the build.</p>" target="classframe"><tt class="docutils literal">build.id</tt></a></td><td><a href="help.html" title="Help" target="classframe">discouraged</a></td> |
|
120 </tr> |
|
121 <tr> |
|
122 <td><a href="property-build.log.dir.html" title="<p>This is where the build logs are stored.</p>" target="classframe"><tt class="docutils literal">build.log.dir</tt></a></td><td><a href="help.html" title="Help" target="classframe">discouraged</a></td> |
|
123 </tr> |
|
124 </table> |
|
125 </p> |
|
126 |
|
127 <hr/> |
|
128 |
|
129 |
|
130 <h3>Target dependencies</h3> |
|
131 <p align="center"> |
|
132 <img src="target-sf-zip-logs.dot.png" alt="sf-zip-logs dependencies" usemap="#dependencies" |
|
133 style="border-style: none"/> |
|
134 <map name="dependencies" id="dependencies"> |
|
135 <area shape="rect" id="node1" href="target-sf-zip-logs.html" title="sf-zip-logs" alt="" coords="156,5,247,53"> |
|
136 <area shape="rect" id="node2" href="target-sf-postbuild.html" title="sf-postbuild" alt="" coords="5,5,107,53"> |
|
137 </map> |
|
138 </p> |
|
139 <hr/> |
|
140 |
|
141 |
|
142 <h3>Source code</h3> |
|
143 <pre> |
|
144 <target name="sf-zip-logs"> |
|
145 <if> |
|
146 <istrue value="${sf.spec.logs.zip.enable}"/> |
|
147 <then> |
|
148 <property name="temp.log.dir" value="${env.TEMP}/${build.id}_output_logs"/> |
|
149 <echo message="Zip log requested, zipping logs..."/> |
|
150 <mkdir dir="${temp.log.dir}"/> |
|
151 <zip destfile="${temp.log.dir}/build_logs.zip" basedir="${build.drive}"> |
|
152 <include name="output/logs/**"/> |
|
153 <exclude name="output/logs/BOM/**"/> |
|
154 <exclude name="output/logs/deliverables/**"/> |
|
155 <exclude name="output/logs/releaseables/**"/> |
|
156 </zip> |
|
157 <zip destfile="${temp.log.dir}/build_BOM.zip"> |
|
158 <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/> |
|
159 <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/> |
|
160 </zip> |
|
161 <move todir="${build.log.dir}"> |
|
162 <fileset dir="${temp.log.dir}"/> |
|
163 </move> |
|
164 </then> |
|
165 </if> |
|
166 </target> |
|
167 </pre> |
|
168 |
|
169 |
|
170 <hr/> |
|
171 <!-- ========= start of top navbar ======= --> |
|
172 <a name="navbar_top"><!-- --></a> |
|
173 <a href="#skip-navbar_top" title="skip navigation links"></a> |
|
174 <table border="0" width="100%" cellpadding="1" cellspacing="0" summary=""> |
|
175 <tr> |
|
176 <td colspan="2" bgcolor="#eeeeff" class="navbarcell1"> |
|
177 <a name="navbar_top_firstrow"><!-- --></a> |
|
178 <table border="0" cellpadding="0" cellspacing="3" summary=""> |
|
179 <tr align="center" valign="top"> |
|
180 <td bgcolor="#ffffff" class="navbarcell1">  <a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font> </a></td> |
|
181 |
|
182 <td bgcolor="#ffffff" class="navbarcell1"> <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a> </td> |
|
183 |
|
184 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a> </td> |
|
185 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a> </td> |
|
186 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="help.html"><font class="navbarfont1"><b>help</b></font></a> </td> |
|
187 </tr> |
|
188 </table> |
|
189 </td> |
|
190 <td align="right" valign="top" rowspan="3"><em> |
|
191 <b>Helium API</b></em> |
|
192 |
|
193 </td> |
|
194 </tr> |
|
195 |
|
196 <tr> |
|
197 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
198  prev  |
|
199  next</font></td> |
|
200 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
201 <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>   |
|
202  <a href="overview-summary.html" target="_top"><b>no frames</b></a>   |
|
203 |
|
204  <script type="text/javascript"> |
|
205 <!-- |
|
206 if(window==top) { |
|
207 document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>'); |
|
208 } |
|
209 //--> |
|
210 </script> |
|
211 <noscript> |
|
212 <a href="allclasses-noframe.html"><b>all classes</b></a> |
|
213 </noscript> |
|
214 |
|
215 |
|
216 </font></td> |
|
217 </tr> |
|
218 </table> |
|
219 <a name="skip-navbar_top"></a> |
|
220 <!-- ========= end of top navbar ========= --> |
|
221 <font size="-2">Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html</font> |
|
222 </body> |
|
223 |
|
224 </html> |
|
225 |
|
226 |