classes/phing/tasks/ext/svn/SvnBaseTask.php
Base class for Subversion tasks
- author
- Michiel Rook
- author
- Andrew Eddie
- package
- phing.tasks.ext.svn
- see
- \VersionControl_SVN
- since
- 2.2.0
- version
- $Id: SvnBaseTask.php 808 2010-08-12 18:44:39Z mrook $
\SvnBaseTask
Base class for Subversion tasks
Use {@link Project#createTask} to register a new Task.
- Extends from
- \Task
- see
- \VersionControl_SVN
- author
- Michiel Rook
- author
- Andrew Eddie
- copyright
- 2001,2002 THYRELL. All rights reserved
- package
- phing.tasks.ext.svn
- since
- 2.2.0
- version
- $Id: SvnBaseTask.php 808 2010-08-12 18:44:39Z mrook $
Properties
Methods

init(
)
:
Initialize Task.
This method includes any necessary SVN libraries and triggers appropriate error if they cannot be found. This is not done in header because we may want this class to be loaded w/o triggering an error.

run(
array $args
=
array, array $switches
=
array
)
:
stringExecutes the constructed VersionControl_SVN instance
| Name | Type | Description |
|---|---|---|
| $args | array | Additional arguments to pass to SVN. |
| $switches | array | Switches to pass to SVN. |
| Type | Description |
|---|---|
| string |

setIgnoreExternals(
$value
)
:
Sets the ignore-externals switch
| Name | Type | Description |
|---|---|---|
| $value |

setPassword(
$value
)
:
Sets the password of the user to export
| Name | Type | Description |
|---|---|---|
| $value |

setRepositoryUrl(
$repositoryUrl
)
:
Sets the path/URI to the repository
| Name | Type | Description |
|---|---|---|
| $repositoryUrl |

setSvnPath(
$svnPath
)
:
Sets the path to the SVN executable
| Name | Type | Description |
|---|---|---|
| $svnPath |

setUsername(
$value
)
:
Sets the username of the user to export
| Name | Type | Description |
|---|---|---|
| $value |

setWorkingCopy(
$workingCopy
)
:
Sets the path to the workingcopy
| Name | Type | Description |
|---|---|---|
| $workingCopy |