ant (1) manual page

Table of Contents

Name

ant - a Java based make tool.

Synopsis

ant [OPTIONS] [TARGET [TARGET2 [TARGET3] ...]]

Description

Like make ant is a tool by which projects can be build. But unlike it, ant is based on Java which means it will run on every platform for which a Java Virtual Machine is available. This makes it a great tool for building Java software.

By default it takes information from build.xml which describes the targets.

-help, -h
print help on the command line options

-projecthelp, -p
print project help information

-version
print the version information

-diagnostics
print information that might be helpful to diagnose or report problems

-quiet, -q
be extra quiet

-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 the given file to output log to

-logger <classname>
use the given class to perform loggin

-listener <classname>
add an instance of the given class as a project listener

-buildfile, -file, -f <file>
use the given buildfile instead of the default build.xml file. This is the ant equivalent of Makefile

-D<property>=<value>
use value for the given property

-propertyfile <name>
load all properties from file with -D properties taking precedence

-inputhandler <class>
the class which will handle input requests

-nice <number>
A niceness value for the main thread: 1 (lowest) to 10 (highest); 5 is the default

See Also

make(1)

Author

This manpage is written by Egon Willighagen <egonw@sci.kun.nl>


Table of Contents