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: 2eec26f6ebaaeceb4eca76644de88bde7515f5dc $ |
package |
phing.tasks.system |
setHaltOnFailure($hof)
Defaults to false.
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
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.
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
processFile() : void
initializeProject()
Developer note: This function replaces the old methods "init", "_reinit" and "_initializeProject".
access |
protected |
---|
overrideProperties() : void
throws |
---|
addReferences() : void
throws |
---|
copyReference(string $oldKey, string $newKey) : void
If we cannot clone it, copy the referenced object itself and keep our fingers crossed.
string
string
setInheritAll($value)
Defaults to true.
access |
public |
---|---|
setInheritRefs($value)
Defaults to false.
access |
public |
---|---|
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.
access |
public |
---|---|
setPhingfile($s)
Defaults to "build.xml". This file is expected to be a filename relative to the dir attribute given.
access |
public |
---|---|
setBuildfile($s)
access |
public |
---|---|
setTarget($s)
Defaults to the new project's default target.
access |
public |
---|---|
createFileSet() : \FileSet
createProperty()
The property is passed as a 'user property'
access |
public |
---|
createReference()
access |
public |
---|
setOwningTarget(\Target $target)
getOwningTarget() : \Target
getTaskName() : string
string
Name of this task
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
getTaskType() : string
string
The type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
setDescription(string $desc)
string
The text describing the task
getDescription() : string
string
The text description of the task
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
setProject(\Project $project)
getProject() : \Project
dir :
phingFile :
newTarget :
inheritAll :
inheritRefs :
properties :
references :
filesets :
newProject :
haltOnFailure :
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project