buildframework/helium/tools/quality/templates/validate-policy.log.ftl
changeset 645 b8d81fa19e7d
equal deleted inserted replaced
643:27cf35f95864 645:b8d81fa19e7d
       
     1 <#--
       
     2 ============================================================================ 
       
     3 Name        : validate-policy.log.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 CSV validation:
       
    23 <#list doc["./policyvalidation/error[@type='unknownstatus']"] as unknownstatus>
       
    24     ${unknownstatus.@message} (${unknownstatus.@value})
       
    25 </#list>
       
    26 
       
    27 Errors:
       
    28 <#list doc["./policyvalidation/error"] as error>
       
    29     <#if error.@type=='A' || error.@type=='B' || error.@type=='C' || error.@type=='D'>
       
    30     ${error.@type}  Found incorrect for ${error.@message?replace('([\\\\/][^\\\\/]+?)$', '', 'ris')}, ${error.@value}
       
    31     </#if>
       
    32 </#list>
       
    33 
       
    34 Missing policy files in:
       
    35 <#list doc["./policyvalidation/error[@type='missing']"] as missing>
       
    36     ${missing.@message}
       
    37 </#list>
       
    38 
       
    39 
       
    40 Incorrect policy files in:
       
    41 <#list doc["./policyvalidation/error[@type='invalidencoding']"] as error>
       
    42     ${error.@message}
       
    43 </#list>