# tasks/ext/svn/SvnCommitTask.php

$Id: SvnCommitTask.php 578 2009-09-20 20:10:04Z johan162 $

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see http://phing.info.

## \SvnCommitTask
jump to top

Package: phing\tasks\ext\svn

Commits changes in a local working copy to the repository

Parent(s)
  \SvnBaseTask < \Task < \ProjectComponent
Author
  Johan Persson
Since
  2.4.0
Version
  $Id: SvnCommitTask.php 578 2009-09-20 20:10:04Z johan162 $

### Properties

`$message= ''''`

Commit message

Default value`''`Details

Type
  n/a

`$propertyName= '"svn.committedrevision"'`

Property name where we store the revision number of the just commited version.

Default value`"svn.committedrevision"`Details

Type
  n/a

### Methods

`getDescription( ) : void`

`getForce( ) : void`

`getIgnoreExternals( ) : void`

`getLocation( ) : void`

`getMessage( ) : void`

Gets the commit message

`getNoCache( ) : void`

`getOwningTarget( ) : void`

`getPassword( ) : void`

`getProject( ) : void`

`getPropertyName( ) : void`

Returns the name of the property to use for returned revision

`getRecursive( ) : void`

`getRegisterSlot( ) : void`

`getRepositoryUrl( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getSvnPath( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`getToDir( ) : void`

`getTrustServerCert( ) : void`

`getUsername( ) : void`

`getWorkingCopy( ) : void`

`init( ) : void`

`log( ) : void`

`main( ) : void`

The main entry point

Throws

Exception | Description
--- | ---
\BuildException |

`maybeConfigure( ) : void`

`perform( ) : void`

`run( ) : void`

`setDescription( ) : void`

`setForce( ) : void`

`setIgnoreExternals( ) : void`

`setLocation( ) : void`

`setMessage( $message ) : void`

Sets the commit message

Parameters

Name | Type | Description
--- | --- | ---
$message |  |

`setNoCache( ) : void`

`setOwningTarget( ) : void`

`setPassword( ) : void`

`setProject( ) : void`

`setPropertyName( $propertyName ) : void`

Sets the name of the property to use for returned revision

Parameters

Name | Type | Description
--- | --- | ---
$propertyName |  |

`setRecursive( ) : void`

`setRepositoryUrl( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setSvnPath( ) : void`

`setTaskName( ) : void`

`setTaskType( ) : void`

`setToDir( ) : void`

`setTrustServerCert( ) : void`

`setUsername( ) : void`

`setWorkingCopy( ) : void`

`setup( ) : void`

Documentation was generated by DocBlox 0.17.1.