bldsystemtools/commonbldutils/GenResult/content.tmpl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 01:39:43 +0200
changeset 0 83f4b4db085c
child 2 99082257a271
permissions -rw-r--r--
Revision: 201005 Kit: 201005

[@--# 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>