Package org.apache.tools.ant.launch
Class Launcher
- java.lang.Object
- 
- org.apache.tools.ant.launch.Launcher
 
- 
 public class Launcher extends java.lang.ObjectThis is a launcher for Ant.- Since:
- Ant 1.6
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringANT_PRIVATEDIRThe directory name of the per-user ant directory.static java.lang.StringANT_PRIVATELIBThe name of a per-user library directory.static java.lang.StringANTHOME_PROPERTYThe Ant Home (installation) Directory property.static java.lang.StringANTLIBDIR_PROPERTYThe Ant Library Directory property.protected static intEXIT_CODE_ERRORExit code on troublebooleanlaunchDiaglaunch diagnostics flag; for debugging trouble at launch time.static java.lang.StringMAIN_CLASSThe startup class that is to be run.static java.lang.StringUSER_HOMEDIRSystem property with user home directory.static java.lang.StringUSER_LIBDIRThe location of a per-user library directory.
 - 
Method SummaryModifier and Type Method Description static voidmain(java.lang.String[] args)Entry point for starting command line Ant.
 
- 
- 
- 
Field Detail- 
ANTHOME_PROPERTYpublic static final java.lang.String ANTHOME_PROPERTY The Ant Home (installation) Directory property. "ant.home"- See Also:
- Constant Field Values
 
 - 
ANTLIBDIR_PROPERTYpublic static final java.lang.String ANTLIBDIR_PROPERTY The Ant Library Directory property. "ant.library.dir"- See Also:
- Constant Field Values
 
 - 
ANT_PRIVATEDIRpublic static final java.lang.String ANT_PRIVATEDIR The directory name of the per-user ant directory. ".ant"- See Also:
- Constant Field Values
 
 - 
ANT_PRIVATELIBpublic static final java.lang.String ANT_PRIVATELIB The name of a per-user library directory. "lib"- See Also:
- Constant Field Values
 
 - 
USER_LIBDIRpublic static final java.lang.String USER_LIBDIR The location of a per-user library directory.It's value is the concatenation of ANT_PRIVATEDIRwithANT_PRIVATELIB, with an appropriate file separator in between. For example, on Unix, it's.ant/lib.
 - 
MAIN_CLASSpublic static final java.lang.String MAIN_CLASS The startup class that is to be run. "org.apache.tools.ant.Main"- See Also:
- Constant Field Values
 
 - 
USER_HOMEDIRpublic static final java.lang.String USER_HOMEDIR System property with user home directory. "user.home"- See Also:
- Constant Field Values
 
 - 
EXIT_CODE_ERRORprotected static final int EXIT_CODE_ERROR Exit code on trouble- See Also:
- Constant Field Values
 
 - 
launchDiagpublic boolean launchDiag launch diagnostics flag; for debugging trouble at launch time.
 
- 
 
-