Task for performing CVS operations.
NOTE: This implementation has been moved here from Cvs.java with the addition of some accessors for extensibility. Another task can extend this with some customized output processing.
author |
Hans Lellelid hans@xmpl.org (Phing) |
---|---|
author |
costin@dnt.ro (Ant) |
author |
stefano@apache.org (Ant) |
author |
Wolfgang Werner wwerner@picturesafe.de (Ant) |
author |
Kevin Ross kevin.ross@bredex.com (Ant) |
version |
$Id: c8232b68045eec9d40b1bda18c4b758c6cfbd80f $ |
package |
phing.tasks.system |
appendCommandArgument( $arg)
configureCommandline( $c) : string
string
getCommand() : null
null
getCvsRoot()
getCvsRsh()
getDescription() : string
string
The text description of the task
getDest() : \File
\File
getLocation() : \Location
getModule()
getOwningTarget() : \Target
getPassFile() : \File
\File
getPort() : integer
integer
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 | |
---|---|
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()
perform()
throws | |
---|---|
removeCommandline(\Commandline $c) : boolean
runCommand(\Commandline $toExecute)
setCommand(string $c)
string
setCompression(boolean $usecomp)
boolean
If true, turns on compression using default level, AbstractCvsTask.DEFAULT_COMPRESSION_LEVEL.
setCompressionLevel(integer $level)
integer
setCvsRoot(string $root)
string
setCvsRsh( $rsh)
setDate( $p)
setDescription(string $desc)
string
The text describing the task
setDest(\PhingFile $dest)
setFailOnError(boolean $failOnError)
Defaults to false.
boolean
setLocation(\Location $location)
setNoexec(boolean $ne)
boolean
setOwningTarget(\Target $target)
setPort(integer $port)
integer
setProject(\Project $project) : void
setQuiet(boolean $q)
boolean
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setTag(string $p)
string
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
DEFAULT_COMPRESSION_LEVEL
cmd :
commandlines : array
var |
Commandline[] |
---|
array
cvsRoot :
cvsRsh :
cvsModule :
default_command :
command :
quiet :
compression :
noexec :
port :
passFile : \File
var |
---|
\File
dest : \File
var |
---|
\File
error :
output :
failOnError : boolean
Default is false. (Iulian)
var |
---|
boolean
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project