Task that invokes phing on another build file.
Use this task, for example, if you have nested buildfiles in your project. Unlike AntTask, PhingTask can even support filesets:
author |
Hans Lellelid hans@xmpl.org |
---|---|
version |
$Id: 43be7ce86f93e18cd2030bb4c764b3e385feebe6 $ |
package |
phing.tasks.system |
addFileSet(\FileSet $fs) : void
addReferences() : void
throws | |
---|---|
copyReference(string $oldKey, string $newKey) : void
If we cannot clone it, copy the referenced object itself and keep our fingers crossed.
throws |
---|
string
string
createProperty()
The property is passed as a 'user property'
createReference()
getDescription() : string
string
The text description of the task
getLocation() : \Location
getOwningTarget() : \Target
getProject() : \Project
getRegisterSlot(string $slotName) : \RegisterSlot
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws | |
---|---|
initializeProject()
Developer note: This function replaces the old methods "init", "_reinit" and "_initializeProject".
log(string $msg, integer $level = \Project::MSG_INFO) : void
string
The message to be logged.
integer
The message's priority at this message should have
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
maybeConfigure()
overrideProperties() : void
throws | |
---|---|
perform()
throws | |
---|---|
processFile() : void
throws | |
---|---|
reinit()
This can happen if the same instance of this task is run twice as newProject is set to null at the end of execute (to save memory and help the GC).
Sets all properties that have been defined as nested property elements.
setBuildfile( $s)
setDescription(string $desc)
string
The text describing the task
setDir( $d)
Defaults to the current project's basedir, unless inheritall has been set to false, in which case it doesn't have a default value. This will override the basedir setting of the called project.
setHaltOnFailure( $hof)
Defaults to false.
setInheritAll( $value)
Defaults to true.
setInheritRefs( $value)
Defaults to false.
setLocation(\Location $location)
setOwningTarget(\Target $target)
setPhingfile( $s)
Defaults to "build.xml". This file is expected to be a filename relative to the dir attribute given.
setProject(\Project $project) : void
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setTarget( $s)
Defaults to the new project's default target.
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
dir :
phingFile :
newTarget :
inheritAll :
inheritRefs :
properties :
references :
filesets :
newProject :
haltOnFailure :
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project