ICU-5605 Added testing in build.xml (ant icutzucheck)
X-SVN-Rev: 21280
This commit is contained in:
parent
c65992f000
commit
6b908d5c0f
4121
icu4j/build.xml
4121
icu4j/build.xml
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user