buildframework/helium/tools/quality/templates/build-duplicates.html.ftl
changeset 645 b8d81fa19e7d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/buildframework/helium/tools/quality/templates/build-duplicates.html.ftl	Sun Oct 10 15:22:15 2010 +0300
@@ -0,0 +1,58 @@
+<#--
+============================================================================ 
+Name        : build-duplicates.html.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:
+
+============================================================================
+--> 
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+    <#include "/@macro/logger/logger.ftl" />
+    <head>
+        <title>Build duplicates</title>
+        <@helium_logger_html_head/>
+    </head>
+    <body>
+
+<#macro printconflict node>
+    <#assign helium_node_id = helium_node_id + 1>
+    <@helium_logger_node_head nodeid="${helium_node_id}" title="${node.@name}">
+        <@helium_message_box nodeid="${helium_node_id}" type="conflict" count=node[".//component"]?size/>
+    </@helium_logger_node_head>    
+    <@helium_logger_node_content nodeid="${helium_node_id}">
+        <#list node[".//component"] as component>
+            <@helium_logger_print type="conflict">
+                <a href="${component.@name}">${component.@name}</a>
+            </@helium_logger_print>
+        </#list>
+    </@helium_logger_node_content>
+</#macro>
+
+    
+    <@helium_logger_header title="${ant['build.id']} build"/>
+    
+    
+    <@helium_logger_content title="Errors and warnings details">
+        <#list doc.buildconflicts["./file"] as conflict>
+            <@printconflict conflict/>
+        </#list>
+    </@helium_logger_content>
+    
+    </body>
+</html>
+