Command Line Arguments

The following table lists the command line arguments currently available.

Table 22. Phing Command Line Arguments

Parameter Meaning
-h -help Display the help screen
-v -version Print version information and exit
-l -list List all available targets in buildfile (excluding targets that have their hidden attribute set to true)
-q -quiet Quiet operation, no output at all
-verbose Verbose, give some more output
-debug Output 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.Logger Specify an alternate logger. Default is phing.listener.DefaultLogger. Other options include phing.listener.NoBannerLogger, phing.listener.AnsiColorLogger, phing.listener.XmlLogger, phing.listener.TargetLogger and phing.listener.HtmlColorLogger.
-propertyfile <file> Load properties from the specified file