Projects are the outermost container for everything in build files. The
<project> tag also is the root tag in build files. It
contains the name, the directory, a short description and a default target.
Project may contain task calls and targets (see below).
<?xml version="1.0" ?> <project name="TestProject" basedir="." default="main" description="This is a test project to show how to use projects ;-)"> <!-- Everything else goes here --> </project>
Table H.1: Attributes
|The base directory of the project, i.e. the directory all paths are relative to.||n/a||No|
|The name of the target that is executed if none is explicitly specified when calling Phing||all||Yes|
|A free text description of the project||n/a||No|
|Name of the project||n/a||No|
|The minimum Phing version required to execute the build file, in order to prevent compatibility issues.||n/a||No|
|Enables the strict-mode for the project build process. If enabled, a warning would be considered as an error, and the build will be aborted.||false||No|