The ANT command is used to run the build scripts for the ant. There are some options available with the ant command. The syntax of the command is as follows:-


ant [options] [target [target2 [target3] ...]]


The following are the options which can be used with the ant command.
































































































OptionsDescription

-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.

-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>


-l <file>


use given file for log

-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

-propertyfile <name>

load all properties from file with -D properties taking precedence

-inputhandler <class>

the class which will handle input requests

-find <file>


-s <file>


(s)earch for buildfile towards the root of the filesystem and use it

-nice number

A niceness value for the main thread: 1 (lowest) to 10 (highest); 5 is the default

-nouserlib

Run ant without using the jar files from /Users/antoine/.ant/lib

-noclasspath

Run ant without using CLASSPATH

-autoproxy

Java 1.5+ : use the OS proxies

-main <class>

override Ant's normal entry point
                    

Copyright © 2010 VisualBuilder. All rights reserved