[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/tasks/system/ -> CvsTask.php (sommaire)

(pas de description)

Poids: 540 lignes (15 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

CvsTask:: (30 méthodes):
  init()
  runCommand()
  main()
  setCvsRoot()
  getCvsRoot()
  setCvsRsh()
  getCvsRsh()
  setPort()
  getPort()
  setPassfile()
  getPassFile()
  setDest()
  getDest()
  setModule()
  getModule()
  setTag()
  appendCommandArgument()
  setDate()
  setCommand()
  getCommand()
  setQuiet()
  setNoexec()
  setFailOnError()
  configureCommandline()
  removeCommandline()
  addConfiguredCommandline()
  setCompressionLevel()
  setCompression()
  setOutput()
  setError()


Classe: CvsTask  - X-Ref

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.

init()   X-Ref
If true it will stop the build if cvs exits with error.
Default is false. (Iulian)


runCommand(Commandline $toExecute)   X-Ref
Sets up the environment for toExecute and then runs it.

param: Commandline $toExecute

main()   X-Ref

return: void

setCvsRoot($root)   X-Ref
The CVSROOT variable.

param: string $root

getCvsRoot()   X-Ref
Pas de description

setCvsRsh($rsh)   X-Ref
The CVS_RSH variable.

param: rsh

getCvsRsh()   X-Ref
Pas de description

setPort($port)   X-Ref
Port used by CVS to communicate with the server.

param: int $port

getPort()   X-Ref

return: int

setPassfile(PhingFile $passFile)   X-Ref
Password file to read passwords from.

param: passFile

getPassFile()   X-Ref

return: File

setDest(PhingFile $dest)   X-Ref
The directory where the checked out files should be placed.

param: PhingFile $dest

getDest()   X-Ref
Pas de description

setModule($m)   X-Ref
The package/module to operate upon.

param: string $p

getModule()   X-Ref
Pas de description

setTag($p)   X-Ref
The tag of the package/module to operate upon.

param: string $p

appendCommandArgument($arg)   X-Ref
This needs to be public to allow configuration
of commands externally.


setDate($p)   X-Ref
Use the most recent revision no later than the given date.

param: p

setCommand($c)   X-Ref
The CVS command to execute.

param: string $c

getCommand()   X-Ref
Pas de description

setQuiet($q)   X-Ref
If true, suppress informational messages.

param: boolean $q

setNoexec($ne)   X-Ref
If true, report only and don't change any files.

param: boolean $ne

setFailOnError($failOnError)   X-Ref
Stop the build process if the command exits with
a return code other than 0.
Defaults to false.

param: boolean $failOnError

configureCommandline($c)   X-Ref
Configure a commandline element for things like cvsRoot, quiet, etc.

return: string

removeCommandline(Commandline $c)   X-Ref
Pas de description

addConfiguredCommandline(Commandline $c, $insertAtStart = false)   X-Ref
Configures and adds the given Commandline.

param: insertAtStart If true, c is

setCompressionLevel($level)   X-Ref
If set to a value 1-9 it adds -zN to the cvs command line, else
it disables compression.

param: int $level

setCompression($usecomp)   X-Ref
If true, this is the same as compressionlevel="3".

param: boolean $usecomp If true, turns on compression using default

setOutput(PhingFile $f)   X-Ref
File to which output should be written.

param: PhingFile $output

setError(PhingFile $f)   X-Ref
File to which error output should be written.

param: PhingFile $output



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7