tasks/system/ImportTask.php
\ImportTask
Imports another build file into the current project.
Targets and properties of the imported file can be overrridden by targets and properties of the same name declared in the importing file.
The imported file will have a new synthetic property of
"phing.file.
- Parent(s)
- \Task < \ProjectComponent
- Author
- Bryan Davis
- Version
- $Revision: 969 $
Properties
Methods

main(
)
:
voidParse a Phing build file and copy the properties, tasks, data types and targets it defines into the current project.

setFile(
string $f
)
:
voidSet the file to import.
| Name | Type | Description |
|---|---|---|
| $f | string | Path to file |

setOptional(
bool $opt
)
:
voidIs this include optional?
| Name | Type | Description |
|---|---|---|
| $opt | bool | If true, do not stop the build if the file does not exist |