587
|
1 |
<#--
|
|
2 |
============================================================================
|
|
3 |
Name : stage_preparation.rst.inc.ftl
|
|
4 |
Part of : Helium
|
|
5 |
|
|
6 |
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
7 |
All rights reserved.
|
|
8 |
This component and the accompanying materials are made available
|
|
9 |
under the terms of the License "Eclipse Public License v1.0"
|
|
10 |
which accompanies this distribution, and is available
|
|
11 |
at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
12 |
|
|
13 |
Initial Contributors:
|
|
14 |
Nokia Corporation - initial contribution.
|
|
15 |
|
|
16 |
Contributors:
|
|
17 |
|
|
18 |
Description:
|
|
19 |
|
|
20 |
============================================================================
|
|
21 |
-->
|
|
22 |
|
|
23 |
.. index::
|
|
24 |
single: Stage - Preparation
|
|
25 |
|
|
26 |
Stage: Preparation
|
|
27 |
==================
|
|
28 |
|
|
29 |
At the start of preparation a new directory is created for the build and subst'ed to ``build.drive``. If a directory with this name already exists, it is renamed to have a current timestamp on the end.
|
|
30 |
|
|
31 |
.. index::
|
628
|
32 |
single: How to prepare the build area
|
|
33 |
|
|
34 |
How to prepare the build area
|
|
35 |
-----------------------------
|
|
36 |
|
|
37 |
Helium supports the creation of an environment based on a release store in a network drive. The main requirement from that release is to publish release metadata with the content.
|
|
38 |
|
|
39 |
.. csv-table:: Ant properties to modify
|
|
40 |
:header: "Property", "Description", "Values"
|
587
|
41 |
|
628
|
42 |
":hlm-p:`s60.grace.server`", "UNC path to network drive.", ""
|
|
43 |
":hlm-p:`s60.grace.service`", "Service name.", ""
|
|
44 |
":hlm-p:`s60.grace.product`", "Product name.", ""
|
|
45 |
":hlm-p:`s60.grace.release`", "Regular expression to match release under the product directory.", ""
|
|
46 |
":hlm-p:`s60.grace.revision`", "Regular expresion to match a new build revision", "e.g: (_\d+)?"
|
|
47 |
":hlm-p:`s60.grace.cache`",
|
|
48 |
":hlm-p:`s60.grace.checkmd5.enabled`",
|
|
49 |
":hlm-p:`s60.grace.usetickler`", "Validate the release based on the tickler.", "true, false(default)"
|
587
|
50 |
|
628
|
51 |
Once configured you can invoke Helium:
|
|
52 |
|
|
53 |
> hlm -Dbuild.number=1 -Dbuild.drive=X: ido-update-build-area-grace
|
|
54 |
|
|
55 |
> dir X:
|
|
56 |
...
|
|
57 |
...
|
|
58 |
|
|
59 |
You should then have the latest/mentioned release un-archived under the X: drive. |