buildframework/helium/doc/src/manual/stages.rst.ftl
author wbernard
Fri, 13 Aug 2010 14:59:05 +0300
changeset 628 7c4a911dc066
parent 588 c7c26511138f
child 645 b8d81fa19e7d
permissions -rw-r--r--
helium_11.0.0-e00f171ca185
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     1
<#--
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     2
============================================================================ 
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
     3
Name        : stages.rst.ftl
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     4
Part of     : Helium 
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     5
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     6
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     7
All rights reserved.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     8
This component and the accompanying materials are made available
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
     9
under the terms of the License "Eclipse Public License v1.0"
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    10
which accompanies this distribution, and is available
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    11
at the URL "http://www.eclipse.org/legal/epl-v10.html".
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    12
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    13
Initial Contributors:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    14
Nokia Corporation - initial contribution.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    15
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    16
Contributors:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    17
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    18
Description:
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    19
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    20
============================================================================
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    21
-->
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    22
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    23
.. index::
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    24
  module: Stages
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    25
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    26
=============
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    27
Helium stages
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    28
=============
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    29
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    30
.. contents::
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    31
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    32
This section gives details of each of the phases of a Helium build and what they do.
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    33
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    34
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    35
.. include:: stage_startup.rst.inc
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    36
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    37
.. include:: stage_source_preparation.rst.inc
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    38
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    39
.. include:: stage_preparation.rst.inc
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    40
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    41
.. include:: stage_compilation.rst.inc
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    42
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    43
.. include:: stage_post_build.rst.inc
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    44
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    45
.. include:: stage_publishing.rst.inc
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    46
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    47
.. include:: stage_releasing.rst.inc
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    48
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    49
Stage: Cenrep creation (S60 3.2.3 - 5.x)
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    50
=================================
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    51
<#if !(ant?keys?seq_contains("sf"))>
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    52
See: http://configurationtools.nmp.nokia.com/builds/cone/docs/cli/generate.html?highlight=generate
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    53
</#if>
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    54
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    55
The target ``ido-gen-cenrep`` can be used to run the ConE Tool to generate cenreps.
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    56
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    57
* IDO can use the ido-gen-cenrep to generate the cenreps which are IDO specific.
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    58
* We should pass the sysdef.configurations.list as parameter to ido-gen-cenrep target. Else it will use the defualt one of helium.
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    59
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    60
Example:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
    61
-------
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    62
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    63
Below example will generate the cenrep only for IDO specific confml files.
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    64
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    65
.. code-block:: xml
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    66
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    67
    <target name="ido-generate-cenrep">
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    68
        <antcall target="ido-gen-cenrep">
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    69
            <param name="sysdef.configurations.list" value="dfs_build"/>    
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    70
        </antcall>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    71
    </target>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    72
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    73
Below example will generate the cenreps for S60 SDK.
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    74
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    75
.. code-block:: xml
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
    76
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    77
    <target name="generate-s60-cenrep">
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    78
        <hlm:conEToolMacro>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    79
            <arg name="output" value="<Path to output log file>"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    80
            <arg name="path" value="build.drive/epoc32/tools/" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    81
            <arg name="-v" value="5" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    82
            <arg name="-p" value="\epoc32\rom\config" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    83
            <arg name="-o" value="\epoc32\release\winscw\urel\z " />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    84
            <arg name="-c" value="s60_root.confml" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    85
        </hlm:conEToolMacro>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    86
    </target>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    87
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    88
By using conEToolMacro you can pass any arguments which are mentioned in the above link.
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    89
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    90
.. code-block:: xml
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    91
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    92
    <target name="generate-s60-cenrep">
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    93
        <hlm:conEToolMacro>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    94
            <arg name="output" value="<Path to output log file>"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    95
            <arg name="path" value="<path to cone.cmd file>" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    96
            <arg name="-v" value="<verbose level 0 - NONE (all), 1- CRITICAL, 2- ERROR, 3- WARNING, 4- INFO, 5- DEBUG>" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    97
            <arg name="-p" value="<path to root folder containing conml file>" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    98
            <arg name="-o" value="<path to output folder on the SDK to generate output files.> " />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
    99
            <arg name="-c" value="<confml file name>" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   100
        </hlm:conEToolMacro>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   101
    </target>
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   102
        
d8ac696cc51f helium_7.0-r14027
wbernard
parents: 1
diff changeset
   103
After running this command generated file can be found from <temp.build.dir>/<build.id>_cenrep_includefile.txt
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   104
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   105
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
   106
.. include:: stage_integration.rst.inc
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   107
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents: 217
diff changeset
   108
.. include:: stage_ats.rst.inc
1
be27ed110b50 Bringing in Helium, imaker and cmaker
Alex Gilkes <alex.gilkes@nokia.com>
parents:
diff changeset
   109
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   110
.. include:: stage_matti.rst.inc
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   111
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   112
Stage: Check EPL License header.
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   113
=================================
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   114
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   115
The target ``check-sf-source-header`` could be used to run to validate the source files for EPL license header.
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   116
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   117
* Include the target ``check-sf-source-header`` in the target sequence.
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   118
* This will validate source files present on the build area to contain EPL license. 
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   119
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   120
.. index::
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   121
  single: Compatibility Analyser (CA)
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   122
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   123
Stage: Compatibility Analyser
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   124
=============================
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   125
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   126
The Compatibility Analyser is a tool used to compare **binary** header and library files to ensure that the version being checked has not made any changes to the interfaces which may cause the code to not work correctly. Helium supplies a target that calls this Compatibility Analyser. Users who wish to use this tool first need to read the CA user guide found under SW DOcMan at: http://bhlns002.apac.nokia.com/symbian/symbiandevdm.nsf/WebAllByID2/DSX05526-EN/s60_compatibility_analyser_users_guide.doc. 
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   127
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   128
The Compatibility Analyser is supplied as part of SymSEE, there is a wiki page for the tool found at http://s60wiki.nokia.com/S60Wiki/Compatibility_Analyser. As part of the configuration a default BC template file has been provided at Helium\tools\quality\CompatibilityAnalyser\config_template.txt make the necessary changes to this file (as described in the user guide). The supplied example file works with CA versions 2.0.0 and above which is available in SymSEE version 12.1.0 and above. The configurations that will need changing are:
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   129
 * BASELINE_SDK_DIR
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   130
 * BASELINE_SDK_S60_VERSION
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   131
 * CURRENT_SDK_DIR
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   132
 * REPORT_FILE_HEADERS
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   133
 * REPORT_FILE_LIBRARIES
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   134
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   135
The default configuration is supplied as part of tools\quality\CompatibilityAnalyser\compatibilty.ant.xml where there are a few properties that need to be set (overriding of these is recommended in your own config file):
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   136
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   137
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   138
.. csv-table:: Compatibility Analyser Ant properties
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   139
   :header: "Property name", "Edit status", "Description"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   140
   
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   141
    ":hlm-p:`ca.enabled`", "[must]", "Enables the bc-check and ca-generate-diamond-summary targets to be executed, when set to true."
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   142
    ":hlm-p:`bctools.root`", "[must]", "Place where the CheckBC and FilterBC tools are e.g. C:/APPS/carbide/plugins/com.nokia.s60tools.compatibilityanalyser.corecomponents_2.0.0/BCTools"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   143
    ":hlm-p:`default.bc.config`", "[must]", "Place where the CheckBC default configuration file is, it is copied from this location to the output folder for use by checkBC.py e.g. helium/tools/quality/compatibility_analyser/ca_config_template.txt"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   144
    ":hlm-p:`bc.config.dir`", "[must]", "The bc_config_template.txt file (default configuration file) will be copied from the folder it is saved in within helium to the location named in this property where it will be used ( in conjunction with the bc.config.file property). e.g. build.log.dir/bc"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   145
    ":hlm-p:`bc.config.file`", "[must]", "The bc_config_template.txt file (default configuration file) will be copied from the folder it is saved in within helium to the location named and named as defined in this property where it will be used. You need to make sure this is not the same name as any other IDO or person using the build area. e.g. bc.config.dir/bc.config"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   146
    ":hlm-p:`bc.check.libraries.enabled`", "[must]", "Enables the Binary Comparison for libraries when set to 'true'."
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   147
    ":hlm-p:`lib.param.val`", "[must]", "Defines the parameter that checkBC.py is called with  -la (all libraries checked)  or -ls lib (single library checked) (lib = the name of library to check) or -lm file.name (multiple libraries checked) the file.name is a file that contains the names of the library(ies) to be checked."
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   148
    ":hlm-p:`bc.check.headers.enabled`", "[must]", "Enables the Binary Comparison for headers when set to 'true'."
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   149
    ":hlm-p:`head.param.val`", "[must]", "Defines the parameter that checkBC.py is called with -ha (all headers checked) or -hs file (single header checked) (file= name of header file to check) or -hm file.name (multiple headers checked) the file.name is a file that contains the names of the header(s) to be checked"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   150
    ":hlm-p:`bc.check.report.id`", "[must]", "Adds this to the CA output file name to give it a unique name."
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   151
    ":hlm-p:`ido.ca.html.output.dir`", "[must]", "Defines the location of CA output and the input for the diamonds creation target. e.g. build.log.dir/build.id_ca"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   152
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   153
and then run the target:
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   154
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   155
::
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   156
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   157
    hlm -Dbuild.number=nnn -Dbuild.drive=n: bc_check
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   158
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   159
where nnn is the build number and n: is the substed drive letter.
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   160
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   161
The results of the output from the analysis are placed in the \output\logs\BC folder under the substed build drive and are called libraries_report_?.xml and headers_report_?.xml, the reports can be viewed in Web-formatted layout, based on the BBCResults.xsl stylesheet which is copied to the \output\logs\BC folder on the build drive.
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   162
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   163
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   164
.. include:: stage_final.rst.inc
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   165