|
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-generate-source-spec</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-generate-source-spec</h2> |
|
83 |
|
84 <p><b>Location</b></p> |
|
85 <p> <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.xml#L150">D:\maintools\sf-config\common\build.xml:150:</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> |
|
95 <p/> |
|
96 <hr/> |
|
97 |
|
98 |
|
99 <h3>Target external Dependency</h3> |
|
100 <p> |
|
101 <table class="docutils" width="50%"> |
|
102 <tr> |
|
103 <th class="head">Name</th> |
|
104 </tr> |
|
105 <tr> |
|
106 <td>perl</td> |
|
107 </tr> |
|
108 </table> |
|
109 </p> |
|
110 |
|
111 |
|
112 <h3>Property dependencies</h3> |
|
113 |
|
114 |
|
115 <p> |
|
116 <table class="docutils" width="50%"> |
|
117 <tr> |
|
118 <th class="head">Name</th><th class="head">Edit status</th> |
|
119 </tr> |
|
120 <tr> |
|
121 <td colspan="2">User editable properties</td> |
|
122 </tr> |
|
123 <tr> |
|
124 <td colspan="2">Internal properties</td> |
|
125 </tr> |
|
126 <tr> |
|
127 <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> |
|
128 </tr> |
|
129 <tr> |
|
130 <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> |
|
131 </tr> |
|
132 </table> |
|
133 </p> |
|
134 |
|
135 <hr/> |
|
136 |
|
137 |
|
138 <h3>Target dependencies</h3> |
|
139 <p align="center"> |
|
140 <img src="target-sf-generate-source-spec.dot.png" alt="sf-generate-source-spec dependencies" usemap="#dependencies" |
|
141 style="border-style: none"/> |
|
142 <map name="dependencies" id="dependencies"> |
|
143 <area shape="rect" id="node1" href="target-sf-generate-source-spec.html" title="sf-generate-source-spec" alt="" coords="165,41,357,89"> |
|
144 <area shape="rect" id="node6" href="target-sf-parse-project-config.html" title="sf-parse-project-config" alt="" coords="407,41,583,89"> |
|
145 <area shape="rect" id="node2" href="target-sf-prep.html" title="sf-prep" alt="" coords="25,5,97,53"> |
|
146 <area shape="rect" id="node4" href="target-sf-get-source.html" title="sf-get-source" alt="" coords="5,77,117,125"> |
|
147 </map> |
|
148 </p> |
|
149 <hr/> |
|
150 |
|
151 |
|
152 <h3>Source code</h3> |
|
153 <pre> |
|
154 <target name="sf-generate-source-spec" depends="sf-parse-project-config"> |
|
155 |
|
156 <!-- Generate the sources.csv if hg cache is activated --> |
|
157 <if><istrue value="${sf.spec.sourcesync.usecache}"/> |
|
158 <then> |
|
159 <echo message="Generating Hg local cache..."/> |
|
160 <mkdir dir="${sf.common.config.dir}/generated"/> |
|
161 <exec executable="perl" dir="${build.log.dir}" failonerror="true" output="${build.log.dir}/${build.id}_hgcache.log"> |
|
162 <arg value="${sf.common.config.dir}/tools/cachefiles.pl"/> |
|
163 <arg value="${sf.spec.sourcesync.cachelocation}"/> |
|
164 <arg value="${sf.project.location}/${sf.spec.sourcesync.sourcespecfile}"/> |
|
165 <arg value="${sf.common.config.dir}/generated/${sf.spec.sourcesync.sourcespecfile}"/> |
|
166 </exec> |
|
167 </then> |
|
168 </if> |
|
169 |
|
170 <!-- TODO: 1. Same file name souce-spec.ant.xml is used for all packages |
|
171 for multiple package builds, this needs to be linked with package name. --> |
|
172 <!-- TODO: 2. Change fmpp data to be a full property rather than relative path --> |
|
173 <delete file="${sf.common.config.dir}/generated/source-spec.ant.xml"/> |
|
174 |
|
175 <fmpp sourceFile="${sf.common.config.dir}/templates/source-spec.ant.xml.ftl" outputFile="${sf.common.config.dir}/generated/source-spec.ant.xml"> |
|
176 <data expandProperties="yes"> |
|
177 ant: antProperties() |
|
178 data: csv(${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}, {separator:','}) |
|
179 </data> |
|
180 </fmpp> |
|
181 </target> |
|
182 </pre> |
|
183 |
|
184 |
|
185 <hr/> |
|
186 <!-- ========= start of top navbar ======= --> |
|
187 <a name="navbar_top"><!-- --></a> |
|
188 <a href="#skip-navbar_top" title="skip navigation links"></a> |
|
189 <table border="0" width="100%" cellpadding="1" cellspacing="0" summary=""> |
|
190 <tr> |
|
191 <td colspan="2" bgcolor="#eeeeff" class="navbarcell1"> |
|
192 <a name="navbar_top_firstrow"><!-- --></a> |
|
193 <table border="0" cellpadding="0" cellspacing="3" summary=""> |
|
194 <tr align="center" valign="top"> |
|
195 <td bgcolor="#ffffff" class="navbarcell1">  <a href="overview-summary.html"><font class="navbarfont1"><b>overview</b></font> </a></td> |
|
196 |
|
197 <td bgcolor="#ffffff" class="navbarcell1"> <a href="deprecated-list.html"><font class="navbarfont1"><b>deprecated</b></font></a> </td> |
|
198 |
|
199 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="properties-table.html"><font class="navbarfont1"><b>properties-table</b></font></a> </td> |
|
200 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="index-1.html"><font class="navbarfont1"><b>index</b></font></a> </td> |
|
201 <td bgcolor="#eeeeff" class="navbarcell1"> <a href="help.html"><font class="navbarfont1"><b>help</b></font></a> </td> |
|
202 </tr> |
|
203 </table> |
|
204 </td> |
|
205 <td align="right" valign="top" rowspan="3"><em> |
|
206 <b>Helium API</b></em> |
|
207 |
|
208 </td> |
|
209 </tr> |
|
210 |
|
211 <tr> |
|
212 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
213  prev  |
|
214  next</font></td> |
|
215 <td bgcolor="white" class="navbarcell2"><font size="-2"> |
|
216 <a href="index.html?overview-summary.html" target="_top"><b>frames</b></a>   |
|
217  <a href="overview-summary.html" target="_top"><b>no frames</b></a>   |
|
218 |
|
219  <script type="text/javascript"> |
|
220 <!-- |
|
221 if(window==top) { |
|
222 document.writeln('<a href="allclasses-noframe.html"><b>all classes</b></a>'); |
|
223 } |
|
224 //--> |
|
225 </script> |
|
226 <noscript> |
|
227 <a href="allclasses-noframe.html"><b>all classes</b></a> |
|
228 </noscript> |
|
229 |
|
230 |
|
231 </font></td> |
|
232 </tr> |
|
233 </table> |
|
234 <a name="skip-navbar_top"></a> |
|
235 <!-- ========= end of top navbar ========= --> |
|
236 <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> |
|
237 </body> |
|
238 |
|
239 </html> |
|
240 |
|
241 |