Converts path and classpath information to a specific target OS format. The resulting formatted path is placed into the specified property.
Use \Project#createTask to register a new Task.
author |
Siad Ardroumli siad.ardroumli@gmail.com |
---|---|
package |
phing.tasks.system |
__construct()
createPath()
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 | |
---|---|
isReference() : true
true
if refid is valid
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.
mapElement(string $elem) : String
string
The path element to apply the map to
String
Updated element
maybeConfigure()
noChildrenAllowed()
perform()
throws | |
---|---|
setDescription(string $desc)
string
The text describing the task
setDirSep(string $sep)
string
directory separator string
setLocation(\Location $location)
setOwningTarget(\Target $target)
setPathSep(string $sep)
string
path separator string
setProject(\Project $project) : void
setProperty( $p)
setRefid(\Reference $r)
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setSetonempty(boolean $setonempty)
If false, don't set the new property if the result is the empty string.
boolean
true or false
setTargetos( $target)
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
validateSetup()
throws |
if something is not setup properly |
---|---|
path :
targetOS :
targetWindows :
onWindows :
setonempty :
property :
pathSep :
dirSep :
from :
to :
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project