A valid Phing buildfile has the following basic structure:
-
The document prolog
-
Exactly one root element called
<project>
. -
Several Phing
type
elements (i.e.<property>
,<fileset>
,<patternset>
etc.) -
One or more
<target>
elements containing built-in or user defined Phingtask
elements (i.e.<install>
,<bcc>
, etc).