buildframework/helium/tools/common/templates/db2xml.xml.ftl
changeset 1 be27ed110b50
child 628 7c4a911dc066
equal deleted inserted replaced
0:044383f39525 1:be27ed110b50
       
     1 <#--
       
     2 ============================================================================ 
       
     3 Name        : bmd.macros.xml.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 <#assign table_info = pp.loadData('com.nokia.helium.metadata.SQLFMPPLoader', "${dbPath}") >
       
    23 <?xml version="1.0" encoding="utf-8"?>
       
    24 <log filename="${log}">
       
    25 <build>
       
    26 
       
    27 <#list table_info['select * from metadata INNER JOIN logfiles ON logfiles.id=metadata.logpath_id INNER JOIN priority ON priority.id=metadata.priority_id where priority=\'ERROR\' and path like \'${r\'%\'}${log}\''] as recordentry >
       
    28 <message priority="error"><![CDATA[${recordentry['data']}]]></message>
       
    29 </#list>
       
    30 
       
    31 </build>
       
    32 </log>