# tasks/ext/svn/SvnLogTask.php

$Id: SvnLogTask.php 1120 2011-05-30 13:22:37Z mrook $

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.

## \SvnLogTask
jump to top

Package: phing\tasks\ext\svn

Stores the output of a log command on a workingcopy or repositoryurl in a property.

This stems from the SvnLastRevisionTask.

Parent(s)
  \SvnBaseTask < \Task < \ProjectComponent
See
  \VersionControl_SVN
Author
  Anton Stöckl
Author
  Michiel Rook (SvnLastRevisionTask)
Since
  2.1.0
Version
  $Id: SvnLogTask.php 1120 2011-05-30 13:22:37Z mrook $

### Properties

`$forceCompatible= 'true'`
Default value `true` Details

Type
  n/a

`$limit= 'null'`
Default value `null` Details

Type
  n/a

`$propertyName= '"svn.log"'`
Default value`"svn.log"`Details

Type
  n/a

### Methods

`getDescription( ) : void`

`getForce( ) : void`

`getIgnoreExternals( ) : void`

`getLocation( ) : void`

`getNoCache( ) : void`

`getOwningTarget( ) : void`

`getPassword( ) : void`

`getProject( ) : void`

`getPropertyName( ) : void`

Returns the name of the property to use

`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`

`setForceCompatible( $force ) : void`

Sets whether to force compatibility with older SVN versions (< 1.2)

Parameters

Name | Type | Description
--- | --- | ---
$force |  |

`setIgnoreExternals( ) : void`

`setLimit( $limit ) : void`

Sets the max num of log entries to get from svn

Parameters

Name | Type | Description
--- | --- | ---
$limit |  |

`setLocation( ) : void`

`setNoCache( ) : void`

`setOwningTarget( ) : void`

`setPassword( ) : void`

`setProject( ) : void`

`setPropertyName( $propertyName ) : void`

Sets the name of the property to use

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.