Built-In Properties

Table 21. Phing Built-In Properties

Property Contents
application.startdir Current work directory
env.* Environment variables, extracted from $_SERVER.
host.arch System architecture, i.e. i586. Not available on Windows machines.
host.domain DNS domain name, i.e. php.net. Not available on Windows machines.
host.fstype The type of the files ystem. Possible values are UNIX, WINNT and WIN32
host.name Operating System hostname as returned by posix_uname(). Not available on Windows machines.
host.os Operating System description as set in PHP_OS variable (see PHP Manual).
host.os.release Operating version release, i.e. 2.2.10. Not available on Windows machines.
host.os.version Operating system version, i.e. #4 Tue Jul 20 17:01:36 MEST 1999. Not available on Windows machines.
line.separator Character(s) that signal the end of a line, "\n" for Linux, "\r\n" for Windows system, "\r" for Macintosh.
os.name Operating System description as set in PHP_OS variable.
phing.file Full path to current buildfile.
phing.dir Path that contains the current buildfile.
phing.home Phing installation directory, not set in PEAR installations.
phing.version Current Phing version.
phing.project.name Name of the currently processed project.
php.classpath The value of the environment variable PHP_CLASSPATH.
php.version Version of the PHP interpreter. Same as PHP constant PHP_VERSION (see PHP Manual).
project.basedir The current project basedir.
user.home Value of the environment variable HOME.