Ant - Ant Command line

Card Puncher Data Processing


ant [options] [target [target2 [target3] ...]]
  -help, -h              print this message
  -projecthelp, -p       print project help information
  -version               print the version information and exit
  -diagnostics           print information that might be helpful to
                         diagnose or report problems.
  -quiet, -q             be extra quiet
  -silent, -S            print nothing but task outputs and build failures
  -verbose, -v           be extra verbose
  -debug, -d             print debugging information
  -emacs, -e             produce logging information without adornments
  -lib <path>            specifies a path to search for jars and classes
  -logfile <file>        use given file for log
    -l     <file>                ''
  -logger <classname>    the class which is to perform logging
  -listener <classname>  add an instance of class as a project listener
  -noinput               do not allow interactive input
  -buildfile <file>      use given buildfile
    -file    <file>              ''
    -f       <file>              ''
  -D<property>=<value>   use value for given property
  -keep-going, -k        execute all targets that do not depend
                         on failed target(s)
  -propertyfile <name>   load all properties from file with -D
                         properties taking precedence
  -inputhandler <class>  the class which will handle input requests
  -find <file>           (s)earch for buildfile towards the root of
    -s  <file>           the filesystem and use it
  -nice  number          A niceness value for the main thread:                         1 (lowest) to 10 (highest); 5 is
  -nouserlib             Run ant without using the jar files from                         ${user.home}/.ant/lib
  -noclasspath           Run ant without using CLASSPATH
  -autoproxy             Java1.5+: use the OS proxy settings
  -main <class>          override Ant's normal entry point

Discover More
Card Puncher Data Processing
Ant - How to diagnose a problem?

This page gives you hints on how to diagnose a problem with Ant. Run Ant with the flag -verbose. For more information, try flag -debug. echo element From an IDE, use the task...
Card Puncher Data Processing
Ant - Listener

A listener is alerted of the following events: build finished target started target finished task started task finished message logged New listeners may registered on the command line through...
Card Puncher Data Processing
Ant - taskdef (Optional Task)

An optional task is a task which typically requires an external library to function. Use Ant's own mechanisms for adding libraries:...
Card Puncher Data Processing
Apache Ant - Property

Properties are key-value-pairs where Apache Ant tries to expand to value at runtime. The key name is case-sensitive. Properties: permit to customize a build process provide shortcuts for strings...
Gradle - Ant

ant integration in gradle

Share this page:
Follow us:
Task Runner