ICU-5605 Added testing in build.xml (ant icutzucheck)

X-SVN-Rev: 21280
This commit is contained in:
Andrew J Macheret 2007-03-17 02:21:19 +00:00
parent c65992f000
commit 6b908d5c0f
4 changed files with 1960 additions and 2294 deletions

File diff suppressed because it is too large Load Diff

View File

@ -96,6 +96,7 @@ public class CLILoader {
this.resultFile = resultFile;
this.tzFile = tzFile;
this.backupDir = backupDir;
this.curDir = curDir;
// if discoveryonly is enabled, call the search method
// otherwise, call the update method

View File

@ -108,7 +108,6 @@ public class ICUJarFinder {
if (file.getAbsolutePath().equalsIgnoreCase(
((File) iter.next()).getAbsolutePath()))
return resultModel;
if (file.isDirectory() && (subdirs || depth == 0)) {
// recurse through each file/directory inside this directory
File[] dirlist = file.listFiles();

View File

@ -73,11 +73,16 @@ public class ICUTZUMain {
}
File curDir = new File(args[CUR_DIR]);
File backupDir = new File(args[CUR_DIR] + args[BACKUP_DIR]);
File pathFile = new File(args[CUR_DIR] + args[PATH_FILE]);
File resultFile = new File(args[CUR_DIR] + args[RESULT_FILE]);
File tzFile = new File(args[CUR_DIR] + args[TZ_FILE]);
File iconFile = new File(args[CUR_DIR] + args[ICON_FILE]);
File backupDir = new File(args[CUR_DIR] + File.separator
+ args[BACKUP_DIR]);
File pathFile = new File(args[CUR_DIR] + File.separator
+ args[PATH_FILE]);
File resultFile = new File(args[CUR_DIR] + File.separator
+ args[RESULT_FILE]);
File tzFile = new File(args[CUR_DIR] + File.separator
+ args[TZ_FILE]);
File iconFile = new File(args[CUR_DIR] + File.separator
+ args[ICON_FILE]);
if ("true".equals(System.getProperty("nogui")))
new CLILoader(curDir, backupDir, pathFile, resultFile, tzFile);