buildframework/helium/tools/common/templates/diamonds/sbs-checksource_fmpp.xml.ftl
equal
deleted
inserted
replaced
|
1 <#-- |
|
2 ============================================================================ |
|
3 Name : sbs-checksource_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="checksource"> |
|
25 <summary message="Checksource 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 \'%.checksource.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 \'%.checksource.log\''] as m> |
|
27 <message severity="error" type="IAD" message="${m.text}" /> |
|
28 </#list> |
|
29 </quality> |
|
30 <#include "diamonds_footer.ftl"> |
|
31 |