Class Launcher

java.lang.Object
org.apache.tools.ant.launch.Launcher

public class Launcher
extends java.lang.Object
This is a launcher for Ant.
Since:
Ant 1.6
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String ANT_PRIVATEDIR
    The directory name of the per-user ant directory.
    static java.lang.String ANT_PRIVATELIB
    The name of a per-user library directory.
    static java.lang.String ANTHOME_PROPERTY
    The Ant Home (installation) Directory property.
    static java.lang.String ANTLIBDIR_PROPERTY
    The Ant Library Directory property.
    protected static int EXIT_CODE_ERROR
    Exit code on trouble
    boolean launchDiag
    launch diagnostics flag; for debugging trouble at launch time.
    static java.lang.String MAIN_CLASS
    The startup class that is to be run.
    static java.lang.String USER_HOMEDIR
    System property with user home directory.
    static java.lang.String USER_LIBDIR
    The location of a per-user library directory.
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)
    Entry point for starting command line Ant.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args)
      Entry point for starting command line Ant.
      Parameters:
      args - commandline arguments