bldsystemtools/commonbldutils/GenResult/content.tmpl
changeset 0 83f4b4db085c
child 2 99082257a271
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 [@--# Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of the License "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Nokia Corporation - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 # Template processed by GenDiamondsXml.pm
       
    15 # 
       
    16 #--@]
       
    17 <?xml version="1.0" encoding="utf-8"?>
       
    18 <diamonds-build>
       
    19   <schema>[@--$ENV{DiamondsSchemaNum}--@]</schema>
       
    20   <content>
       
    21     <project>
       
    22       <name>[@--$ENV{Product}--@]</name>
       
    23       <baseline>[@--$ENV{BaseBuildNumber}--@]</baseline>
       
    24       [@--
       
    25       use Changelists;
       
    26       my $CLInfoHash = &Changelists::main();
       
    27       foreach my $key (keys %$CLInfoHash)
       
    28       {
       
    29         $$CLInfoHash{$key}{'sub_time'} =~ s/\//-/g;
       
    30         $$CLInfoHash{$key}{'sub_time'} =~ s/ GMT//;
       
    31         $$CLInfoHash{$key}{'sub_time'} =~ s/\s/T/;
       
    32         $OUT .= "
       
    33         <task>
       
    34           <id>$key#$$CLInfoHash{$key}{'submitter'}#$$CLInfoHash{$key}{'team'}</id>
       
    35           <synopsis>$$CLInfoHash{$key}{'desc'}</synopsis>
       
    36           <completed>$$CLInfoHash{$key}{'sub_time'}</completed>
       
    37         </task>";
       
    38       }
       
    39       --@]
       
    40     </project>
       
    41   </content>
       
    42 </diamonds-build>