buildframework/helium/sf/java/metadata/src/templates/build_status.xml.ftl
author wbernard
Tue, 27 Apr 2010 08:33:08 +0300
changeset 587 85df38eb4012
permissions -rw-r--r--
helium_9.0-a7879c935424
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
<#--
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
============================================================================ 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
Name        : email.html.ftl 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
Part of     : Helium 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
All rights reserved.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
This component and the accompanying materials are made available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
under the terms of the License "Eclipse Public License v1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
which accompanies this distribution, and is available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
at the URL "http://www.eclipse.org/legal/epl-v10.html".
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
Initial Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
Nokia Corporation - initial contribution.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
Description:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
============================================================================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
<?xml version="1.0" encoding="utf-8"?>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
<build-status>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
    <#assign table_info = pp.loadData('com.nokia.helium.metadata.SQLFMPPLoader',
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
        "${dbPath}") >
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
<#assign priority_table = table_info['select * from priority'] >
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    27
<#assign priority_ids = priority_table?keys>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
<#list priority_ids as priority>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
    <#assign priority_count = table_info['select count(data) as COUNT from metadata where priority_id = ${priority} and logpath_id in (select id from logfiles where path like \'%${logfile}%\')'][0]['COUNT'] >
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    31
    <#if (priority_count >= 0)>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    32
        <${priority_table['${priority}']?lower_case} count= "${priority_count}">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
    </#if>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
</#list>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
</build-status>