buildframework/helium/doc/src/manual/stages.rst.ftl
changeset 628 7c4a911dc066
parent 588 c7c26511138f
child 645 b8d81fa19e7d
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
     1 <#--
     1 <#--
     2 ============================================================================ 
     2 ============================================================================ 
     3 Name        : 
     3 Name        : stages.rst.ftl
     4 Part of     : Helium 
     4 Part of     : Helium 
     5 
     5 
     6 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     6 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     7 All rights reserved.
     7 All rights reserved.
     8 This component and the accompanying materials are made available
     8 This component and the accompanying materials are made available
    44 
    44 
    45 .. include:: stage_publishing.rst.inc
    45 .. include:: stage_publishing.rst.inc
    46 
    46 
    47 .. include:: stage_releasing.rst.inc
    47 .. include:: stage_releasing.rst.inc
    48 
    48 
    49 Cenrep creation (S60 3.2.3 - 5.x)
    49 Stage: Cenrep creation (S60 3.2.3 - 5.x)
    50 =================================
    50 =================================
    51 <#if !(ant?keys?seq_contains("sf"))>
    51 <#if !(ant?keys?seq_contains("sf"))>
    52 See: http://configurationtools.nmp.nokia.com/builds/cone/docs/cli/generate.html?highlight=generate
    52 See: http://configurationtools.nmp.nokia.com/builds/cone/docs/cli/generate.html?highlight=generate
    53 </#if>
    53 </#if>
    54 
    54 
   107 
   107 
   108 .. include:: stage_ats.rst.inc
   108 .. include:: stage_ats.rst.inc
   109 
   109 
   110 .. include:: stage_matti.rst.inc
   110 .. include:: stage_matti.rst.inc
   111 
   111 
   112 Check EPL License header.
   112 Stage: Check EPL License header.
   113 =================================
   113 =================================
   114 
   114 
   115 The target ``check-sf-source-header`` could be used to run to validate the source files for EPL license header.
   115 The target ``check-sf-source-header`` could be used to run to validate the source files for EPL license header.
   116 
   116 
   117 * Include the target ``check-sf-source-header`` in the target sequence.
   117 * Include the target ``check-sf-source-header`` in the target sequence.
   118 * This will validate source files present on the build area to contain EPL license. 
   118 * This will validate source files present on the build area to contain EPL license. 
       
   119 
       
   120 .. index::
       
   121   single: Compatibility Analyser (CA)
       
   122 
       
   123 Stage: Compatibility Analyser
       
   124 =============================
       
   125 
       
   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. 
       
   127 
       
   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:
       
   129  * BASELINE_SDK_DIR
       
   130  * BASELINE_SDK_S60_VERSION
       
   131  * CURRENT_SDK_DIR
       
   132  * REPORT_FILE_HEADERS
       
   133  * REPORT_FILE_LIBRARIES
       
   134 
       
   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):
       
   136 
       
   137 
       
   138 .. csv-table:: Compatibility Analyser Ant properties
       
   139    :header: "Property name", "Edit status", "Description"
       
   140    
       
   141     ":hlm-p:`ca.enabled`", "[must]", "Enables the bc-check and ca-generate-diamond-summary targets to be executed, when set to true."
       
   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"
       
   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"
       
   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"
       
   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"
       
   146     ":hlm-p:`bc.check.libraries.enabled`", "[must]", "Enables the Binary Comparison for libraries when set to 'true'."
       
   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."
       
   148     ":hlm-p:`bc.check.headers.enabled`", "[must]", "Enables the Binary Comparison for headers when set to 'true'."
       
   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"
       
   150     ":hlm-p:`bc.check.report.id`", "[must]", "Adds this to the CA output file name to give it a unique name."
       
   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"
       
   152 
       
   153 and then run the target:
       
   154 
       
   155 ::
       
   156 
       
   157     hlm -Dbuild.number=nnn -Dbuild.drive=n: bc_check
       
   158 
       
   159 where nnn is the build number and n: is the substed drive letter.
       
   160 
       
   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.
       
   162 
       
   163 
       
   164 .. include:: stage_final.rst.inc
       
   165