2004-05-18 21:33:21 +00:00
|
|
|
#!/usr/bin/perl
|
|
|
|
# ********************************************************************
|
|
|
|
# * COPYRIGHT:
|
2007-02-15 22:30:32 +00:00
|
|
|
# * Copyright (c) 2002-2007, International Business Machines Corporation and
|
2004-05-18 21:33:21 +00:00
|
|
|
# * others. All Rights Reserved.
|
|
|
|
# ********************************************************************
|
|
|
|
|
|
|
|
# Script to generate the icudata.jar and testdata.jar files. This file is
|
|
|
|
# part of icu4j. It is checked into CVS. It is generated from
|
|
|
|
# locale data in the icu4c project. See usage() notes (below)
|
|
|
|
# for more information.
|
|
|
|
|
|
|
|
# This script requires perl. For Win32, I recommend www.activestate.com.
|
|
|
|
|
|
|
|
# Ram Viswanadha
|
|
|
|
# copied heavily from genrbjar.pl
|
|
|
|
use File::Find;
|
|
|
|
use File::Basename;
|
|
|
|
use IO::File;
|
|
|
|
use Cwd;
|
|
|
|
use File::Copy;
|
|
|
|
use Getopt::Long;
|
|
|
|
use File::Path;
|
|
|
|
use File::Copy;
|
2005-06-08 01:21:01 +00:00
|
|
|
use Cwd;
|
|
|
|
use Cwd 'abs_path';
|
2004-05-18 21:33:21 +00:00
|
|
|
|
|
|
|
main();
|
|
|
|
|
|
|
|
#------------------------------------------------------------------
|
|
|
|
sub main(){
|
|
|
|
|
2005-06-08 01:21:01 +00:00
|
|
|
GetOptions(
|
|
|
|
"--icu-root=s" => \$icuRootDir,
|
|
|
|
"--jar=s" => \$jarDir,
|
|
|
|
"--icu4j-root=s" => \$icu4jDir,
|
2005-06-09 20:17:14 +00:00
|
|
|
"--version=s" => \$version,
|
2005-07-22 22:16:23 +00:00
|
|
|
"--verbose" => \$verbose,
|
|
|
|
"--help" => \$help
|
2005-06-08 01:21:01 +00:00
|
|
|
);
|
|
|
|
$cwd = abs_path(getcwd);
|
2005-07-22 22:16:23 +00:00
|
|
|
|
|
|
|
if($help){
|
|
|
|
usage();
|
|
|
|
}
|
2005-06-08 01:21:01 +00:00
|
|
|
unless (defined $icuRootDir){
|
|
|
|
$icuRootDir =abs_path($cwd."/../../..");
|
|
|
|
}
|
|
|
|
unless (defined $icu4jDir){
|
|
|
|
$icu4jDir =abs_path($icuRootDir."/../icu4j");
|
|
|
|
}
|
|
|
|
unless (defined $jarDir){
|
|
|
|
if(defined $ENV{'JAVA_HOME'}){
|
|
|
|
$jarDir=$ENV{'JAVA_HOME'}."/bin";
|
|
|
|
}else{
|
2005-06-09 20:17:14 +00:00
|
|
|
print("ERROR: JAVA_HOME enviroment variable undefined and --jar argument not specifed.\n");
|
2005-06-08 01:21:01 +00:00
|
|
|
usage();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$platform = getPlatform();
|
|
|
|
$icuBinDir = $icuRootDir;
|
|
|
|
|
|
|
|
$path=$ENV{'PATH'};
|
|
|
|
|
2005-12-21 22:03:00 +00:00
|
|
|
if(($platform eq "cygwin") || ($platform eq "linux")){
|
2005-06-08 01:21:01 +00:00
|
|
|
$icuBinDir .= "/source/bin";
|
|
|
|
$icuLibDir = abs_path($icuBinDir."/../lib");
|
|
|
|
$path .=":$icuBinDir:$icuLibDir";
|
|
|
|
|
|
|
|
$libpath = $ENV{'LD_LIBRARY_PATH'}.":$icuLibDir";
|
|
|
|
$ENV{'LD_LIBRARY_PATH'} = $libpath;
|
|
|
|
|
2005-06-09 20:17:14 +00:00
|
|
|
#print ("##### LD_LIBRARY_PATH = $ENV{'LD_LIBRARY_PATH'}\n");
|
2005-07-21 00:27:23 +00:00
|
|
|
|
|
|
|
}elsif($platform eq "aix"){
|
|
|
|
|
|
|
|
$icuBinDir .= "/source/bin";
|
|
|
|
$icuLibDir = abs_path($icuBinDir."/../lib");
|
|
|
|
$path .=":$icuBinDir:$icuLibDir";
|
|
|
|
|
|
|
|
$libpath = $ENV{'LIBPATH'}.":$icuLibDir";
|
|
|
|
$ENV{'LIBPATH'} = $libpath;
|
|
|
|
#print ("##### LIBPATH = $ENV{'LIBPATH'}\n");
|
2005-07-12 17:51:01 +00:00
|
|
|
}elsif($platform eq "darwin"){
|
|
|
|
$icuBinDir .= "/source/bin";
|
|
|
|
$icuLibDir = abs_path($icuBinDir."/../lib");
|
|
|
|
$path .=":$icuBinDir:$icuLibDir";
|
|
|
|
|
|
|
|
$libpath = $ENV{'DYLD_LIBRARY_PATH'}.":$icuLibDir";
|
|
|
|
$ENV{'DYLD_LIBRARY_PATH'} = $libpath;
|
2005-07-21 00:27:23 +00:00
|
|
|
|
2005-06-08 01:21:01 +00:00
|
|
|
}elsif($platform eq "MSWin32"){
|
|
|
|
$icuBinDir =$icuRootDir."/bin";
|
|
|
|
$path .=$icuBinDir;
|
|
|
|
|
|
|
|
}
|
|
|
|
$ENV{'PATH'} = $path;
|
2005-06-09 20:17:14 +00:00
|
|
|
#print ("##### PATH = $ENV{'PATH'}\n");
|
2005-06-08 01:21:01 +00:00
|
|
|
# TODO add more platforms and test on Linux and Unix
|
|
|
|
|
|
|
|
$icuBuildDir =$icuRootDir."/source/data/out/build";
|
|
|
|
$icuTestDataDir =$icuRootDir."/source/test/testdata/out/build/";
|
|
|
|
|
|
|
|
# now build ICU
|
2005-06-09 20:17:14 +00:00
|
|
|
buildICU($platform, $icuRootDir, $icuTestDataDir, $verbose);
|
2005-06-08 01:21:01 +00:00
|
|
|
|
|
|
|
#figure out the version and endianess
|
|
|
|
unless (defined $version){
|
|
|
|
($version, $endian) = getVersion();
|
|
|
|
#print "#################### $version, $endian ######\n";
|
|
|
|
}
|
|
|
|
|
2007-02-15 22:30:32 +00:00
|
|
|
$icupkg = $icuBinDir."/icupkg -tb";
|
2005-06-08 01:21:01 +00:00
|
|
|
$tempDir = $cwd."/temp";
|
|
|
|
$version =~ s/\.//;
|
|
|
|
$icu4jImpl = "com/ibm/icu/impl/data/";
|
|
|
|
$icu4jDataDir = $icu4jImpl."/icudt".$version."b";
|
|
|
|
$icu4jDevDataDir = "com/ibm/icu/dev/data/";
|
|
|
|
$icu4jTestDataDir = "$icu4jDevDataDir/testdata";
|
|
|
|
|
|
|
|
$icuDataDir =$icuBuildDir."/icudt".$version.checkPlatformEndianess();
|
2004-05-18 21:33:21 +00:00
|
|
|
|
2007-02-15 22:30:32 +00:00
|
|
|
convertData($icuDataDir, $icupkg, $tempDir, $icu4jDataDir, $verbose);
|
|
|
|
#convertData($icuDataDir."/coll/", $icupkg, $tempDir, $icu4jDataDir."/coll");
|
2005-06-09 20:17:14 +00:00
|
|
|
createJar("$jarDir/jar", "icudata.jar", $tempDir, $icu4jDataDir, $verbose);
|
2005-06-08 01:21:01 +00:00
|
|
|
|
2007-02-15 22:30:32 +00:00
|
|
|
convertTestData($icuTestDataDir, $icupkg, $tempDir, $icu4jTestDataDir, $verbose);
|
2005-06-09 20:17:14 +00:00
|
|
|
createJar("$jarDir/jar", "testdata.jar", $tempDir, $icu4jTestDataDir, $verbose);
|
|
|
|
copyData($icu4jDir, $icu4jImpl, $icu4jDevDataDir, $tempDir, $verbose);
|
2004-05-18 21:33:21 +00:00
|
|
|
}
|
|
|
|
|
2005-06-08 01:21:01 +00:00
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
sub buildICU{
|
2005-06-09 20:17:14 +00:00
|
|
|
local($platform, $icuRootDir, $icuTestDataDir, $verbose) = @_;
|
2005-06-08 01:21:01 +00:00
|
|
|
$icuSrcDir = $icuRootDir."/source";
|
|
|
|
$icuSrcDataDir = $icuSrcDir."/data";
|
|
|
|
|
|
|
|
chdir($icuSrcDir);
|
|
|
|
# clean the data directories
|
|
|
|
unlink($icuBuildDir."../");
|
|
|
|
unlink($icuTestDataDir."../");
|
|
|
|
|
2005-12-21 22:03:00 +00:00
|
|
|
if(($platform eq "cygwin")||($platform eq "darwin")||($platform eq "linux")){
|
2005-06-08 01:21:01 +00:00
|
|
|
# make all in ICU
|
2005-06-09 20:17:14 +00:00
|
|
|
cmd("make all", $verbose);
|
2005-06-08 01:21:01 +00:00
|
|
|
chdir($icuSrcDataDir);
|
2005-06-09 20:17:14 +00:00
|
|
|
cmd("make uni-core-data", $verbose);
|
2005-06-08 01:21:01 +00:00
|
|
|
chdir($icuTestDataDir."../../");
|
2005-06-09 20:17:14 +00:00
|
|
|
#print($icuTestDataDir."../../\n");
|
|
|
|
cmd("make", $verbose);
|
2005-07-21 00:27:23 +00:00
|
|
|
}elsif($platform eq "aix"){
|
|
|
|
# make all in ICU
|
|
|
|
cmd("gmake all", $verbose);
|
|
|
|
chdir($icuSrcDataDir);
|
|
|
|
cmd("gmake uni-core-data", $verbose);
|
|
|
|
chdir($icuTestDataDir."../../");
|
|
|
|
cmd("gmake", $verbose);
|
2005-06-08 01:21:01 +00:00
|
|
|
}elsif($platform eq "MSWin32"){
|
|
|
|
#devenv.com $projectFileName \/build $configurationName > \"$cLogFile\" 2>&1
|
2005-06-09 20:17:14 +00:00
|
|
|
cmd("devenv.com allinone/allinone.sln /useenv /build Debug", $verbose);
|
2005-06-08 01:21:01 +00:00
|
|
|
# build required data. this is required coz building icu will not build all the data
|
|
|
|
chdir($icuSrcDataDir);
|
2005-06-09 20:17:14 +00:00
|
|
|
cmd("NMAKE /f makedata.mak ICUMAKE=\"$icuSrcDataDir\" CFG=debug uni-core-data", $verbose);
|
2005-06-08 01:21:01 +00:00
|
|
|
|
|
|
|
}else{
|
|
|
|
print "ERROR: Could not build ICU unknown platform $platform. \n";
|
|
|
|
exit(-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
chdir($cwd);
|
|
|
|
}
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
sub getVersion{
|
|
|
|
my @list;
|
|
|
|
opendir(DIR,$icuBuildDir);
|
|
|
|
|
|
|
|
@list = readdir(DIR);
|
|
|
|
closedir(DIR);
|
|
|
|
|
|
|
|
if(scalar(@list)>3){
|
|
|
|
print("ERROR: More than 1 directory in build. Can't decide the version");
|
|
|
|
exit(-1);
|
|
|
|
}
|
|
|
|
foreach $item (@list){
|
|
|
|
next if($item eq "." || $item eq "..");
|
|
|
|
my ($ver, $end) =$item =~ m/icudt(.*)(l|b|e)$/;
|
|
|
|
return $ver,$end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
sub getPlatform{
|
|
|
|
$platform = $^O;
|
|
|
|
return $platform;
|
|
|
|
}
|
2004-05-18 21:33:21 +00:00
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
sub createJar{
|
2005-06-09 20:17:14 +00:00
|
|
|
local($jar, $jarFile, $tempDir, $dirToJar, $verbose) = @_;
|
2004-05-18 21:33:21 +00:00
|
|
|
chdir($tempDir);
|
2005-06-23 18:29:57 +00:00
|
|
|
$command="";
|
|
|
|
print "INFO: Creating $jarFile\n";
|
|
|
|
if(defined $verbose){
|
|
|
|
$command = "$jar cvf $jarFile -C $tempDir $dirToJar";
|
|
|
|
}else{
|
|
|
|
$command = "$jar cf $jarFile -C $tempDir $dirToJar";
|
|
|
|
}
|
|
|
|
|
2005-06-09 20:17:14 +00:00
|
|
|
cmd($command, $verbose);
|
2004-05-18 21:33:21 +00:00
|
|
|
}
|
|
|
|
#-----------------------------------------------------------------------
|
2005-06-08 01:21:01 +00:00
|
|
|
sub checkPlatformEndianess {
|
2004-05-18 21:33:21 +00:00
|
|
|
my $is_big_endian = unpack("h*", pack("s", 1)) =~ /01/;
|
|
|
|
if ($is_big_endian) {
|
|
|
|
return "b";
|
|
|
|
}else{
|
|
|
|
return "l";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#-----------------------------------------------------------------------
|
2005-03-10 01:19:21 +00:00
|
|
|
sub copyData{
|
2005-06-08 01:21:01 +00:00
|
|
|
local($icu4jDir, $icu4jImpl, $icu4jDevDataDir, $tempDir) =@_;
|
2005-06-09 20:17:14 +00:00
|
|
|
print("INFO: Copying $tempDir/icudata.jar to $icu4jDir/src/$icu4jImpl\n");
|
2005-06-08 01:21:01 +00:00
|
|
|
copy("$tempDir/icudata.jar", "$icu4jDir/src/$icu4jImpl");
|
2005-07-21 22:09:52 +00:00
|
|
|
print("INFO: Copying $tempDir/testdata.jar $icu4jDir/src/$icu4jDevDataDir\n");
|
|
|
|
copy("$tempDir/testdata.jar","$icu4jDir/src/$icu4jDevDataDir");
|
2005-03-10 01:19:21 +00:00
|
|
|
}
|
2004-05-18 21:33:21 +00:00
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
sub convertData{
|
2007-02-15 22:30:32 +00:00
|
|
|
local($icuDataDir, $icupkg, $tempDir, $icu4jDataDir) =@_;
|
2004-05-18 21:33:21 +00:00
|
|
|
my $dir = $tempDir."/".$icu4jDataDir;
|
|
|
|
# create the temp directory
|
2005-07-21 22:09:52 +00:00
|
|
|
mkpath($dir) ;
|
2004-05-18 21:33:21 +00:00
|
|
|
# cd to the temp directory
|
|
|
|
chdir($tempDir);
|
2005-07-21 00:27:23 +00:00
|
|
|
my $endian = checkPlatformEndianess();
|
2004-05-18 21:33:21 +00:00
|
|
|
my @list;
|
|
|
|
opendir(DIR,$icuDataDir);
|
2005-06-09 20:17:14 +00:00
|
|
|
#print $icuDataDir;
|
2004-05-18 21:33:21 +00:00
|
|
|
@list = readdir(DIR);
|
|
|
|
closedir(DIR);
|
2007-02-15 22:30:32 +00:00
|
|
|
my $op = $icupkg;
|
2005-07-22 22:16:40 +00:00
|
|
|
#print "####### $endian ############\n";
|
2005-07-22 22:16:23 +00:00
|
|
|
if($endian eq "l"){
|
2005-07-21 00:27:23 +00:00
|
|
|
print "INFO: {Command: $op $icuDataDir/*.*}\n";
|
|
|
|
}else{
|
|
|
|
print "INFO: {Command: copy($icuDataDir/*.*, $tempDir/$icu4jDataDir/*)}\n";
|
|
|
|
}
|
|
|
|
|
2004-05-18 21:33:21 +00:00
|
|
|
$i=0;
|
|
|
|
# now convert
|
|
|
|
foreach $item (@list){
|
2006-06-23 16:36:46 +00:00
|
|
|
next if($item eq "." || $item eq "..");
|
|
|
|
# next if($item =~ /^t_.*$\.res/ ||$item =~ /^translit_.*$\.res/ ||
|
|
|
|
# $item=~/$\.crs/ || $item=~ /$\.txt/ ||
|
|
|
|
# $item=~/icudata\.res/ || $item=~/$\.exp/ || $item=~/$\.lib/ ||
|
|
|
|
# $item=~/$\.obj/ || $item=~/$\.lst/);
|
2007-02-15 22:30:32 +00:00
|
|
|
next if($item =~ /^t_.*$\.res/ ||$item =~ /^translit_.*$\.res/ ||
|
2005-09-07 23:02:06 +00:00
|
|
|
$item=~/$\.crs/ || $item=~ /$\.txt/ ||
|
2004-05-18 21:33:21 +00:00
|
|
|
$item=~/icudata\.res/ || $item=~/$\.exp/ || $item=~/$\.lib/ || $item=~/$\.obj/ ||
|
2007-02-15 22:30:32 +00:00
|
|
|
$item=~/$\.lst/);
|
2004-08-13 20:35:29 +00:00
|
|
|
if(-d "$icuDataDir/$item"){
|
2007-02-15 22:30:32 +00:00
|
|
|
convertData("$icuDataDir/$item/", $icupkg, $tempDir, "$icu4jDataDir/$item/");
|
2004-08-13 20:35:29 +00:00
|
|
|
next;
|
|
|
|
}
|
2005-07-22 22:16:23 +00:00
|
|
|
if($endian eq "l"){
|
2007-02-15 22:30:32 +00:00
|
|
|
$command = $icupkg." $icuDataDir/$item $tempDir/$icu4jDataDir/$item";
|
2005-07-21 00:27:23 +00:00
|
|
|
cmd($command, $verbose);
|
|
|
|
}else{
|
2005-07-21 22:09:52 +00:00
|
|
|
$rc = copy("$icuDataDir/$item", "$tempDir/$icu4jDataDir/$item");
|
|
|
|
if($rc==1){
|
|
|
|
#die "ERROR: Could not copy $icuDataDir/$item to $tempDir/$icu4jDataDir/$item, $!";
|
|
|
|
}
|
2005-07-21 00:27:23 +00:00
|
|
|
}
|
2004-05-18 21:33:21 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
chdir("..");
|
2005-06-23 18:29:57 +00:00
|
|
|
print "INFO: DONE\n";
|
2004-05-18 21:33:21 +00:00
|
|
|
}
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
sub convertTestData{
|
2007-02-15 22:30:32 +00:00
|
|
|
local($icuDataDir, $icupkg, $tempDir, $icu4jDataDir) =@_;
|
2004-05-18 21:33:21 +00:00
|
|
|
my $dir = $tempDir."/".$icu4jDataDir;
|
|
|
|
# create the temp directory
|
2005-07-21 22:09:52 +00:00
|
|
|
mkpath($dir);
|
2004-05-18 21:33:21 +00:00
|
|
|
# cd to the temp directory
|
|
|
|
chdir($tempDir);
|
2007-02-15 22:30:32 +00:00
|
|
|
my $op = $icupkg;
|
2005-06-09 20:17:14 +00:00
|
|
|
print "INFO: {Command: $op $icuDataDir/*.*}\n";
|
2004-05-18 21:33:21 +00:00
|
|
|
my @list;
|
2005-07-21 22:09:52 +00:00
|
|
|
opendir(DIR,$icuDataDir) or die "ERROR: Could not open the $icuDataDir directory for reading $!";
|
2005-06-09 20:17:14 +00:00
|
|
|
#print $icuDataDir;
|
2004-05-18 21:33:21 +00:00
|
|
|
@list = readdir(DIR);
|
|
|
|
closedir(DIR);
|
2005-07-21 22:09:52 +00:00
|
|
|
my $endian = checkPlatformEndianess();
|
2004-05-18 21:33:21 +00:00
|
|
|
$i=0;
|
|
|
|
# now convert
|
|
|
|
foreach $item (@list){
|
|
|
|
next if($item eq "." || $item eq "..");
|
2007-02-15 22:30:32 +00:00
|
|
|
next if( item=~/$\.crs/ || $item=~ /$\.txt/ ||
|
2004-05-18 21:33:21 +00:00
|
|
|
$item=~/$\.exp/ || $item=~/$\.lib/ || $item=~/$\.obj/ ||
|
2004-08-13 20:35:29 +00:00
|
|
|
$item=~/$\.mak/ || $item=~/test\.icu/ || $item=~/$\.lst/);
|
2006-06-23 16:36:46 +00:00
|
|
|
$file = $item;
|
|
|
|
$file =~ s/testdata_//g;
|
|
|
|
if($endian eq "l"){
|
2007-02-15 22:30:32 +00:00
|
|
|
$command = "$icupkg $icuDataDir/$item $tempDir/$icu4jDataDir/$file";
|
2006-06-23 16:36:46 +00:00
|
|
|
cmd($command, $verbose);
|
|
|
|
}else{
|
|
|
|
#print("Copying $icuDataDir/$item $tempDir/$icu4jDataDir/$file\n");
|
|
|
|
copy("$icuDataDir/$item", "$tempDir/$icu4jDataDir/$file");
|
2004-05-18 21:33:21 +00:00
|
|
|
}
|
2006-06-23 16:36:46 +00:00
|
|
|
|
2004-05-18 21:33:21 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
chdir("..");
|
2005-06-09 20:17:14 +00:00
|
|
|
print "INFO: DONE\n";
|
2004-05-18 21:33:21 +00:00
|
|
|
}
|
|
|
|
#------------------------------------------------------------------------------------------------
|
|
|
|
sub cmd {
|
|
|
|
my $cmd = shift;
|
2005-06-09 20:17:14 +00:00
|
|
|
my $verbose = shift;
|
2004-05-18 21:33:21 +00:00
|
|
|
my $prompt = shift;
|
2005-06-09 20:17:14 +00:00
|
|
|
|
2004-05-18 21:33:21 +00:00
|
|
|
$prompt = "Command: $cmd.." unless ($prompt);
|
2005-06-09 20:17:14 +00:00
|
|
|
if(defined $verbose){
|
|
|
|
print $prompt."\n";
|
|
|
|
}
|
2004-05-18 21:33:21 +00:00
|
|
|
system($cmd);
|
|
|
|
my $exit_value = $? >> 8;
|
|
|
|
#my $signal_num = $? & 127;
|
|
|
|
#my $dumped_core = $? & 128;
|
|
|
|
if ($exit_value == 0) {
|
2005-06-09 20:17:14 +00:00
|
|
|
if(defined $verbose){
|
|
|
|
print "ok\n";
|
|
|
|
}
|
2004-05-18 21:33:21 +00:00
|
|
|
} else {
|
|
|
|
++$errCount;
|
2005-06-09 20:17:14 +00:00
|
|
|
print "ERROR: Execution of $prompt returned ($exit_value)\n";
|
2004-05-18 21:33:21 +00:00
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
sub usage {
|
|
|
|
print << "END";
|
|
|
|
Usage:
|
|
|
|
gendtjar.pl
|
|
|
|
Options:
|
|
|
|
--icu-root=<directory where icu4c lives>
|
|
|
|
--jar=<directory where jar.exe lives>
|
|
|
|
--icu4j-root=<directory>
|
|
|
|
--version=<ICU4C version>
|
2005-06-09 20:17:14 +00:00
|
|
|
--verbose
|
2005-07-22 22:16:23 +00:00
|
|
|
--help
|
2004-05-18 21:33:21 +00:00
|
|
|
e.g:
|
|
|
|
gendtjar.pl --icu-root=\\work\\icu --jar=\\jdk1.4.1\\bin --icu4j-root=\\work\\icu4j --version=3.0
|
|
|
|
END
|
|
|
|
exit(0);
|
|
|
|
}
|
|
|
|
|