classes/phing/tasks/system/ImportTask.php
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." declared which gives the full path to the
imported file. Additionally each target in the imported file will be
declared twice: once with the normal name and once with "."
prepended. The "." synthetic targets allow the
importing file a mechanism to call the imported files targets as
dependencies or via the or task mechanisms.
- Extends from
- \Task
- author
- Bryan Davis
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.system
- version
- $Revision: 969 $
Properties
Methods



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



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