628
|
1 |
.. ============================================================================
|
|
2 |
Name : configuring_features.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 |
|
|
21 |
####################
|
|
22 |
Configuring Helium Features
|
|
23 |
####################
|
|
24 |
|
|
25 |
Introduction
|
|
26 |
-------------------------------
|
|
27 |
|
|
28 |
This describes how to configure the Helium features.
|
|
29 |
|
|
30 |
Helium supports a number of features and this sections gives information on how to configure/enable those features.
|
|
31 |
|
|
32 |
We could configure features by enabing/disabling repective properties::
|
|
33 |
|
|
34 |
publishing build results into diamonds.
|
|
35 |
Publishing build artificats.
|
|
36 |
Enabling blocks features.
|
|
37 |
Enabling to use dragonfly and many more.
|
|
38 |
|
|
39 |
Properties need to be defined for enabling/disabling the features.
|
|
40 |
-------------------------------------------------------------
|
|
41 |
<#assign propertyCache = {}>
|
|
42 |
<#list doc.antDatabase.project.property as property>
|
|
43 |
<#assign propertyCache = propertyCache + {property.name: property}>
|
|
44 |
</#list>
|
|
45 |
|
|
46 |
.. csv-table:: Feature properties
|
|
47 |
:header: "Property name", "Description", "Allowed value", "Deprecated property"
|
|
48 |
|
|
49 |
<#list propertyCache?keys?sort as name>
|
|
50 |
<#assign property=propertyCache[name]>
|
|
51 |
<#if name?ends_with(".enabled")>
|
|
52 |
<#assign deprecatedProperty="">
|
|
53 |
<#assign deprecatedMessage="">
|
|
54 |
<#list propertyCache?keys?sort as propName>
|
|
55 |
<#assign deprecatedName=propertyCache[propName]>
|
|
56 |
<#if deprecatedName.summary?contains(name) && deprecatedName.summary?contains("deprecated")>
|
|
57 |
<#assign deprecatedProperty=":hlm-p:`${propName}`,">
|
|
58 |
<#assign deprecatedMessage="${deprecatedName.deprecated}">
|
|
59 |
</#if>
|
|
60 |
</#list>
|
|
61 |
":hlm-p:`${name}`", "${property.summary?replace("^", " ", "rm")?replace("\"", "\"\"", "rm")?trim}", "true/false", "${deprecatedProperty}${deprecatedMessage}"
|
|
62 |
</#if>
|
|
63 |
</#list>
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|