| java.lang.Object com.sun.jbi.installer.AntRunner
AntRunner | public class AntRunner (Code) | | AntRunner is a class that can be used to run
an ant task from a specified ant file in a specified directory.
author: Sun Microsystems, Inc. |
getAppserverJDK | public static String getAppserverJDK(String installDir, boolean isWindows)(Code) | | This method returns the JAVA_HOME for the JDK
used by the appserver
|
runAnt | public static boolean runAnt(String appserverInstallDir, String antfn, String targetname, Properties props, String logFileName) throws Exception(Code) | | Run a target in an ant file.
Parameters: basedir - the ant basedir Parameters: antfn - the name of the ant file. Parameters: targetname - the target you want to run true if ant task is successfully run |
|
|