diff -r c7c26511138f -r 7c4a911dc066 buildframework/helium/sf/java/metadata/src/templates/readdata.xml.ftl --- a/buildframework/helium/sf/java/metadata/src/templates/readdata.xml.ftl Wed Jun 16 16:51:40 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ -<#-- -============================================================================ -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: - -============================================================================ ---> - -<#macro helium_scanlog_entry > - - - - - <#assign table_info = pp.loadData('com.nokia.helium.metadata.SQLFMPPLoader', - "${dbPath}") > - - -

Summary

- -<#assign priority_table = table_info['select * from priority'] > -<#assign component_table = table_info['select id, component from component'] > -<#assign logpath_table = table_info['select * from logfiles'] > -<#assign priority_ids = priority_table?keys> - -<#assign quotes='\'' /> -<#list priority_ids as priority> - - - -
Total     ${priority_table['${priority}']}      -${table_info['select count(data) as COUNT from metadata where priority_id=${priority}'][0]['COUNT']}
-

Listing based on Priority

- -<#list priority_ids as priority> - - - - -<#list table_info['select * from metadata where priority_id=${priority}'] as recordentry > - - - - -
priority_id:${priority}     
 

${priority_table['${priority}']}

logtext:${recordentry['data']}     lineNo:${recordentry['line_number']}     
-

Listing based on Component

- -<#assign component_ids = component_table?keys> -<#list component_ids as component> - - -<#list table_info['select * from metadata where component_id=${component} order by priority_id'] as recordentry > - - - - - -
 

${component_table['${component}']}

priority:${priority_table["${recordentry['priority_id']}"]}     logtext:${recordentry['data']}     lineNo:${recordentry['line_number']}     
- - \ No newline at end of file