releasing/cbrtools/perl/getrel
author kelvzhu
Wed, 27 Oct 2010 16:03:51 +0800
changeset 662 60be34e1b006
parent 602 3145852acc89
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
602
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     1
#!perl
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     2
# Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     3
# All rights reserved.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     4
# This component and the accompanying materials are made available
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     6
# which accompanies this distribution, and is available
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     8
# 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     9
# Initial Contributors:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    11
# 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    12
# Contributors:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    13
# 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    14
# Description:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    15
# 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    16
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    17
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    18
use strict;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    19
use FindBin;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    20
use lib "$FindBin::Bin";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    21
use Getopt::Long;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    22
use IniData;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    23
use EnvDb;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    24
use CommandController;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    25
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    26
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    27
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    28
# Globals.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    29
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    30
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    31
my $verbose = 0;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    32
my $overwriteSource = 0;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    33
my $iniData = IniData->New();
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    34
my $commandController = CommandController->New($iniData, 'GetRel');
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    35
my $envDb;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    36
my $installSource;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    37
my $sourceInstallPath = undef;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    38
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    39
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    40
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    41
# Main.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    42
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    43
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    44
ProcessCommandLine();
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    45
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    46
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    47
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    48
# Subs.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    49
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    50
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    51
sub ProcessCommandLine {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    52
  Getopt::Long::Configure ("bundling");
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    53
  my $help;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    54
  my $stdin;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    55
  GetOptions('h' => \$help, 's' => \$installSource, 'o' => \$overwriteSource, 'v+' => \$verbose, 'p' => \$stdin, 'i=s' => \$sourceInstallPath);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    56
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    57
  if ($help) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    58
    Usage(0);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    59
  }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    60
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    61
  if ($sourceInstallPath and not $installSource) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    62
    print "Error: Invalid options - cannot specify install path (using -i) without installing source (using -s)\n";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    63
    Usage(1);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    64
  }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    65
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    66
  $envDb = EnvDb->Open($iniData, $verbose);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    67
 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    68
  if ($#ARGV == -1 and $stdin) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    69
    my @failedGets;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    70
    my @lines;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    71
    my $line;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    72
    while (defined ($line = <STDIN>)) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    73
      # Remove line feed, white space and comments.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    74
      chomp $line;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    75
      $line =~ s/^\s*//;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    76
      $line =~ s/\s$//;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    77
      $line =~ s/#.*//;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    78
      if ($line eq '') {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    79
        # Nothing left.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    80
        next;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    81
      }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    82
      push @lines, $line;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    83
    }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    84
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    85
    # We do this as a separate loop to work around a weird defect in Perl 5.8.0
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    86
    # where <STDIN> only reads the first line if a system() call happens
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    87
    # in between (which would be done by InstallComponent)
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    88
    # This defect is #21717 and is due to be fixed in 5.8.1
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    89
    my $lineNum = 0;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    90
    foreach $line (@lines) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    91
      $lineNum++;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    92
      eval {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    93
        my @words = split (/\s+/, $line);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    94
        unless ($#words == 1) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    95
          die "Error: Invalid number of arguments at line $lineNum from STDIN\n";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    96
        }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    97
        InstallComponent(@words);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    98
      };
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    99
      if ($@) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   100
        print $@;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   101
        push (@failedGets, $line);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   102
      }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   103
    }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   104
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   105
    if ($#failedGets >= 0) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   106
      print "\nThere was an error getting the following release(s):\n\n";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   107
      foreach (@failedGets) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   108
        print;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   109
      }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   110
    }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   111
  }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   112
  elsif ($#ARGV == 0) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   113
    my $comp = shift @ARGV;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   114
    my $ver = $envDb->Version($comp);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   115
    unless (defined $ver) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   116
      die "Error: Couldn't find version of $comp - not currently installed\n";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   117
    }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   118
    InstallComponent($comp, $ver);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   119
  }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   120
  elsif ($#ARGV == 1) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   121
    InstallComponent(@ARGV);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   122
  }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   123
  else {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   124
    print "Error: Invalid number of arguments\n";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   125
    Usage(1);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   126
  }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   127
}
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   128
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   129
sub Usage {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   130
  my $exitCode = shift;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   131
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   132
  Utils::PrintDeathMessage($exitCode, "\nUsage: getrel [options] <component> [<version>]
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   133
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   134
options:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   135
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   136
-h  help
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   137
-s  install source code also
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   138
-o  overwrite any existing source
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   139
-v  verbose output (-vv very verbose)
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   140
-p  read a piped list of components from STDIN\n");
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   141
}
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   142
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   143
sub InstallComponent {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   144
  my $comp = shift;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   145
  my $ver = shift;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   146
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   147
  $comp = lc($comp);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   148
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   149
  $iniData->PathData()->CheckReleaseExists($comp, $ver);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   150
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   151
  my $relData = RelData->Open($iniData, $comp, $ver, $verbose);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   152
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   153
  #change the version string to that stored in the reldata file (version nums are case dependent)
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   154
  my $env = $relData->Environment();
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   155
  $ver = $env->{$comp};
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   156
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   157
  my $noinstall = 0;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   158
  my $installedVer = $envDb->Version($comp);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   159
  if (defined $installedVer and lc($installedVer) eq lc($ver)) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   160
    (my $status) = $envDb->CheckComp($comp, 0);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   161
    if ($status == EnvDb::STATUS_CLEAN) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   162
      print "$comp $ver already installed and clean\n";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   163
      $noinstall = 1;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   164
    }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   165
  }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   166
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   167
  unless ($noinstall) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   168
    # Remove old binaries if present.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   169
    if (defined $installedVer and $envDb->Status($comp) != EnvDb::STATUS_PENDING_RELEASE) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   170
      if (lc($installedVer) eq lc($ver)) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   171
        print "Re-installing $comp $ver...\n";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   172
      }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   173
      else {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   174
        print "Switching $comp from $installedVer to $ver...\n";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   175
      }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   176
      $envDb->RemoveComponent($comp);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   177
    }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   178
    else {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   179
      print "Installing $comp $ver...\n";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   180
    }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   181
    $envDb->InstallComponent($comp, $ver, $overwriteSource);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   182
  }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   183
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   184
  if ($installSource) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   185
    my $installPath = $sourceInstallPath;
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   186
    if (!defined ($installPath)) {
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   187
      $installPath="\\";
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   188
    }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   189
    $envDb->UnpackSource($comp, $ver, $installPath, $overwriteSource, 1);
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   190
  }
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   191
}
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   192
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   193
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   194
__END__
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   195
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   196
=head1 NAME
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   197
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   198
GetRel - Installs the binaries of a component release into the current environment.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   199
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   200
=head1 SYNOPSIS
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   201
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   202
  getrel [options] <component> [<version>]
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   203
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   204
options:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   205
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   206
  -h  help
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   207
  -s  install source code also
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   208
  -o  overwrite any existing source
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   209
  -v  verbose output (-vv very verbose)
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   210
  -p  read a piped list of components from STDIN
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   211
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   212
=head1 DESCRIPTION
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   213
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   214
Before installing new binaries, any existing binaries are removed. If no version is specifed, the current version will be re-installed (if it is dirty). Multiple releases may be installed by specifying the C<-p> switch and piping in text via C<STDIN> that contains lines in a <component> <version> format. Releases that fail to install are listed at the end.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   215
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   216
Source code may optionally be installed also. If specified, this will be installed into the root of the current drive. Any existing files will be overwritten with -o.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   217
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   218
As well as overwriting existing source code, C<-o> will overwrite any binaries which are left on the drive. There will only be leftover binaries in exceptional circumstances; normally C<getrel> will remove old versions of components before trying to install new ones.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   219
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   220
=head1 KNOWN BUGS
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   221
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   222
None.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   223
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   224
=head1 COPYRIGHT
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   225
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   226
 Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   227
 All rights reserved.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   228
 This component and the accompanying materials are made available
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   229
 under the terms of the License "Eclipse Public License v1.0"
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   230
 which accompanies this distribution, and is available
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   231
 at the URL "http://www.eclipse.org/legal/epl-v10.html".
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   232
 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   233
 Initial Contributors:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   234
 Nokia Corporation - initial contribution.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   235
 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   236
 Contributors:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   237
 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   238
 Description:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   239
 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   240
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
   241
=cut