buildframework/helium/tools/common/templates/db2xml.xml.ftl
author Richard Taylor <richard.i.taylor@nokia.com>
Tue, 04 May 2010 14:01:37 +0100
branchwip
changeset 509 a337b022f8a8
parent 1 be27ed110b50
child 628 7c4a911dc066
permissions -rw-r--r--
release note: do not generate abiv1 import libs by default

<#--
============================================================================ 
Name        : bmd.macros.xml.ftl 
Part of     : Helium 

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".

Initial Contributors:
Nokia Corporation - initial contribution.

Contributors:

Description:

============================================================================
-->
<#assign table_info = pp.loadData('com.nokia.helium.metadata.SQLFMPPLoader', "${dbPath}") >
<?xml version="1.0" encoding="utf-8"?>
<log filename="${log}">
<build>

<#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 >
<message priority="error"><![CDATA[${recordentry['data']}]]></message>
</#list>

</build>
</log>