|
1 .. ============================================================================ |
|
2 Name : configuring.rst |
|
3 Part of : Helium |
|
4 |
|
5 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
6 All rights reserved. |
|
7 This component and the accompanying materials are made available |
|
8 under the terms of the License "Eclipse Public License v1.0" |
|
9 which accompanies this distribution, and is available |
|
10 at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
11 |
|
12 Initial Contributors: |
|
13 Nokia Corporation - initial contribution. |
|
14 |
|
15 Contributors: |
|
16 |
|
17 Description: |
|
18 |
|
19 ============================================================================ |
|
20 |
1 .. index:: |
21 .. index:: |
2 module: Configuring Helium |
22 module: Configuring Helium |
3 |
23 |
4 ================== |
24 ================== |
5 Configuring Helium |
25 Configuring Helium |
166 single: Viewing target dependencies |
186 single: Viewing target dependencies |
167 |
187 |
168 Viewing target dependencies |
188 Viewing target dependencies |
169 =========================== |
189 =========================== |
170 |
190 |
171 The ``deps`` target can be used to display a list of the target dependencies for a given target. See the `manual page`_ for more information. Also the ``execlist`` command works in a similar way but shows a dialog showing a separated list of all the dependent targets and then just the top-level of dependencies, to help with continuing a build on the command line. |
191 The :hlm-t:`deps` target can be used to display a list of the target dependencies for a given target. See the `manual page`_ for more information. Also the :hlm-t:`execlist` command works in a similar way but shows a dialog showing a separated list of all the dependent targets and then just the top-level of dependencies, to help with continuing a build on the command line. |
172 |
192 |
173 .. _`manual page`: ../api/helium/target-deps.html |
193 .. _`manual page`: ../api/helium/target-deps.html |
174 |
194 |
175 |
195 |
176 .. index:: |
196 .. index:: |
177 single: Automating build number assignment |
197 single: Automating build number assignment |
178 |
198 |
179 Automating build number assignment |
199 Automating build number assignment |
180 ================================== |
200 ================================== |
181 |
201 |
182 Typically the build number for a build is defined on the command line. However it may be desirable to automate the allocation of a new build number using a simple text database file. To do this, add the property ``read.build.int`` to the configuration or the command line. This will look for a text file in this location:: |
202 Typically the build number for a build is defined on the command line. However it may be desirable to automate the allocation of a new build number using a simple text database file. To do this, add the property :hlm-p:`read.build.int` to the configuration or the command line. This will look for a text file in this location:: |
183 |
203 |
184 ${publish.root.dir}/${build.name}/builds/${build.name}_${core.build.version}_${build.tag}_build_int_db.txt |
204 ${publish.root.dir}/${build.name}/builds/${build.name}_${core.build.version}_${build.tag}_build_int_db.txt |
185 |
205 |
186 If the file is not present it is created with a new build number value of "001". If it does exist the value is read from the file and then incremented and written back for the next build. A ``build.tag`` property can also be defined to start the build number with a text string if needed. |
206 If the file is not present it is created with a new build number value of "001". If it does exist the value is read from the file and then incremented and written back for the next build. A :hlm-p:`build.tag` property can also be defined to start the build number with a text string if needed. |
187 |
207 |
188 |
208 |
189 .. index:: |
209 .. index:: |
190 single: Advanced configuration |
210 single: Advanced configuration |
191 |
211 |
280 </project> |
300 </project> |
281 |
301 |
282 .. index:: |
302 .. index:: |
283 single: System definition configuration files |
303 single: System definition configuration files |
284 |
304 |
285 System definition configuration files |
305 System Definition configuration files |
286 ::::::::::::::::::::::::::::::::::::: |
306 ::::::::::::::::::::::::::::::::::::: |
287 |
307 |
288 Sysdef configuration defines the source code you actually want to compile with Helium. More information about the System definition |
308 Sysdef configuration defines the source code you actually want to compile with Helium. More information about the System definition |
289 files can be found from: http://developer.symbian.org/wiki/index.php/System_Definition. |
309 files can be found from: http://developer.symbian.org/wiki/index.php/System_Definition. |
290 |
310 |
291 helium/tests/minibuilds/qt/minibuild_compile.sysdef.xml which can be examined as a sample definition file. |
311 ``helium/tests/minibuilds/qt/minibuild_compile.sysdef.xml`` can be examined as a sample definition file. |
292 It is used by the Helium test environment to test helium works. It consists of a list of components to compile and some special instructions to |
312 It is used by the Helium test environment to test Helium works. It consists of a list of components to compile and some special instructions to |
293 perform whilst compiling the components e.g. run toucher.exe on certain directories. You will need to make sure this file exists and contains |
313 perform whilst compiling the components e.g. run toucher.exe on certain directories. You will need to make sure this file exists and contains |
294 the correct components when building and especialy for a product which consists of many hundreds of components. It should be possible to use |
314 the correct components when building and especialy for a product which consists of many hundreds of components. It should be possible to use |
295 the file supplied by S60, but you may need to copy the component compile lines from the file and add them to the existing file in helium in |
315 the file supplied by S60, but you may need to copy the component compile lines from the file and add them to the existing file in helium in |
296 order to make sure you also get the special instructions which are required to make the builds create a ROM image successfully (or any |
316 order to make sure you also get the special instructions which are required to make the builds create a ROM image successfully (or any |
297 other action requested). |
317 other action requested). |
298 |
318 |
299 |
|