Package org.apache.tools.ant.launch
Class Launcher
java.lang.Object
org.apache.tools.ant.launch.Launcher
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The directory name of the per-user ant directory.static final String
The name of a per-user library directory.static final String
The Ant Home (installation) Directory property.static final String
The Ant Library Directory property.protected static final int
Exit code on troubleboolean
launch diagnostics flag; for debugging trouble at launch time.static final String
The startup class that is to be run.static final String
System property with user home directory.static final String
The location of a per-user library directory. -
Method Summary
-
Field Details
-
ANTHOME_PROPERTY
The Ant Home (installation) Directory property. "ant.home"- See Also:
-
ANTLIBDIR_PROPERTY
The Ant Library Directory property. "ant.library.dir"- See Also:
-
ANT_PRIVATEDIR
The directory name of the per-user ant directory. ".ant"- See Also:
-
ANT_PRIVATELIB
-
USER_LIBDIR
The location of a per-user library directory.It's value is the concatenation of
ANT_PRIVATEDIR
withANT_PRIVATELIB
, with an appropriate file separator in between. For example, on Unix, it's.ant/lib
. -
MAIN_CLASS
The startup class that is to be run. "org.apache.tools.ant.Main"- See Also:
-
USER_HOMEDIR
System property with user home directory. "user.home"- See Also:
-
EXIT_CODE_ERROR
protected static final int EXIT_CODE_ERRORExit code on trouble- See Also:
-
launchDiag
public boolean launchDiaglaunch diagnostics flag; for debugging trouble at launch time.
-
-
Method Details
-
main
Entry point for starting command line Ant.- Parameters:
args
- commandline arguments
-