A.2 Command Line Arguments

The following table lists the command line arguments currently available.

Table A.2: Phing Command Line Arguments

ParameterMeaning
-h -helpDisplay the help screen
-v -versionPrint version information and exit
-l -listList all available targets in buildfile (excluding targets that have their hidden attribute set to true)
-q -quietQuiet operation, no output at all
-verboseVerbose, give some more output
-debugOutput debug information
-logfile <file>Use given file for log
-D<property>=<value>Set the property to the specified value to be used in the buildfile
-find <file> 
-buildfile <file>Specify an alternate buildfile name. Default is build.xml
-logger path.to.LoggerSpecify an alternate logger. Default is phing.listener.AnsiColorLogger. Other options include phing.listener.NoBannerLogger, phing.listener.DefaultLogger, phing.listener.XmlLogger, phing.listener.TargetLogger and phing.listener.HtmlColorLogger.
-propertyfile <file>Load properties from the specified file