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