bldsystemtools/commonbldutils/GenResult/content.tmpl
changeset 0 83f4b4db085c
child 2 99082257a271
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bldsystemtools/commonbldutils/GenResult/content.tmpl	Tue Feb 02 01:39:43 2010 +0200
@@ -0,0 +1,42 @@
+[@--# Copyright (c) 2003-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:
+# Template processed by GenDiamondsXml.pm
+# 
+#--@]
+<?xml version="1.0" encoding="utf-8"?>
+<diamonds-build>
+  <schema>[@--$ENV{DiamondsSchemaNum}--@]</schema>
+  <content>
+    <project>
+      <name>[@--$ENV{Product}--@]</name>
+      <baseline>[@--$ENV{BaseBuildNumber}--@]</baseline>
+      [@--
+      use Changelists;
+      my $CLInfoHash = &Changelists::main();
+      foreach my $key (keys %$CLInfoHash)
+      {
+        $$CLInfoHash{$key}{'sub_time'} =~ s/\//-/g;
+        $$CLInfoHash{$key}{'sub_time'} =~ s/ GMT//;
+        $$CLInfoHash{$key}{'sub_time'} =~ s/\s/T/;
+        $OUT .= "
+        <task>
+          <id>$key#$$CLInfoHash{$key}{'submitter'}#$$CLInfoHash{$key}{'team'}</id>
+          <synopsis>$$CLInfoHash{$key}{'desc'}</synopsis>
+          <completed>$$CLInfoHash{$key}{'sub_time'}</completed>
+        </task>";
+      }
+      --@]
+    </project>
+  </content>
+</diamonds-build>