buildframework/helium/tools/common/templates/diamonds/iad-check-pkg-version_fmpp.xml.ftl
changeset 628 7c4a911dc066
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
       
     1 <#--
       
     2 ============================================================================ 
       
     3 Name        : iad-check-pkg-version_fmpp.xml.ftl
       
     4 Part of     : Helium
       
     5 
       
     6 Copyright (c) 2010 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 <#include "diamonds_header.ftl">
       
    23 <#assign db = pp.loadData('com.nokia.helium.metadata.ORMFMPPLoader', "${dbPath}") >
       
    24     <quality aspect="iad">
       
    25         <summary message="IAD errors" value="${db['jpasingle']['select Count(m.id) from MetadataEntry m JOIN m.logFile as l JOIN m.severity as p where UPPER(p.severity)=\'ERROR\' and l.path LIKE \'%_iad_validation.log\''][0]}"/>
       
    26         <#list db['jpa']['select m from MetadataEntry m JOIN m.logFile as l JOIN m.severity as p where UPPER(p.severity)=\'ERROR\' and l.path LIKE \'%_iad_validation.log\''] as m>
       
    27         <message severity="error" type="IAD" message="${m.text}" />
       
    28         </#list>
       
    29     </quality>
       
    30 <#include "diamonds_footer.ftl">
       
    31