LinuxCommandLibrary

phing

phing

TLDR

Perform the default task in the build.xml file

$ phing
copy


Initialize a new build file
$ phing -i [path/to/build.xml]
copy


Perform a specific task
$ phing [task_name]
copy


Specify a custom build file path
$ phing -f [path/to/build.xml] [task_name]
copy


Specify a log file to output to
$ phing -b [path/to/log_file] [task_name]
copy


Specify custom properties to use in the build
$ phing -D[property]=[value] [task_name]
copy


Specify a custom listener class
$ phing -listener [class_name] [task_name]
copy


Build using verbose output
$ phing -verbose [task_name]
copy

SYNOPSIS

phing [options] [target [target2 [target3] ...]]

OPTIONS

-h -help

print this message

-l -list

list available targets in this project

-v -version

print the version information and exit

-q -quiet

be extra quiet

-S -silent

print nothing but task outputs and build failures

-verbose

be extra verbose

-debug

print debugging information

-emacs, -e

produce logging information without adornments

-diagnostics

print diagnostics information

-longtargets

show target descriptions during build

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

-f -buildfile <file>

use given buildfile

-D<property>=<value>

use value for given property

-keep-going, -k

execute all targets that do not depend on failed target(s)

-propertyfile <file>

load all properties from file

-propertyfileoverride

values in property file override existing values

-find <file>

search for buildfile towards the root of the filesystem and use it

-inputhandler <file>

the class to use to handle user input

REPORTING BUGS

Report bugs to <dev@phing.tigris.org>

Copied to clipboard