(SIGAR-213) check ENV.ANT_HOME/lib for junit in Main-Class

This commit is contained in:
Doug MacEachern 2010-04-14 13:46:28 -07:00
parent 4227bf6ab9
commit 55002f1930
1 changed files with 7 additions and 0 deletions

View File

@ -182,6 +182,13 @@ public class Runner {
} }
} }
} }
if (missingJars()) {
String home = System.getenv("ANT_HOME"); //check for junit.jar
if (home != null) {
addJarDir(home + "/lib");
}
}
} }
Class cmd = null; Class cmd = null;