Viskan Distanshandel System AB :: svntask

Parent for the svntask projects.

License

License

Categories

Categories

Subversion Development Tools Version Controls
GroupId

GroupId

com.viskan
ArtifactId

ArtifactId

svntask
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

Viskan Distanshandel System AB :: svntask
Parent for the svntask projects.
Project URL

Project URL

https://github.com/viskan/svntask
Project Organization

Project Organization

Viskan Distanshandel System AB
Source Code Management

Source Code Management

https://github.com/viskan/svntask

Download svntask

Filename Size
svntask-1.0.0.pom 2 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.viskan/svntask/ -->
<dependency>
    <groupId>com.viskan</groupId>
    <artifactId>svntask</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.viskan/svntask/
implementation 'com.viskan:svntask:1.0.0'
// https://jarcasting.com/artifacts/com.viskan/svntask/
implementation ("com.viskan:svntask:1.0.0")
'com.viskan:svntask:pom:1.0.0'
<dependency org="com.viskan" name="svntask" rev="1.0.0">
  <artifact name="svntask" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.viskan', module='svntask', version='1.0.0')
)
libraryDependencies += "com.viskan" % "svntask" % "1.0.0"
[com.viskan/svntask "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • svntask-core
  • svntask-1.6
  • svntask-1.7
  • svntask-1.8

svntask

This is a fork of opticyclic/svntask which in turn is a fork of svntask together with some commands from chripo/svntask

It is a simple wrapper around svnkit

Available commands

  • add
  • checkout
  • commit
  • diff
  • export
  • info
  • log
  • ls
  • status
  • switch
  • update
  • cleanup
  • copy
  • delete
  • mkdir
  • unlock

Usage

Maven

pom.xml:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-antrun-plugin</artifactId>
    <version>${maven-antrun-plugin.version}</version>
    <executions>
        <execution>
            <id>generate-patch</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>run</goal>
            </goals>
            <configuration>
                <target>
                    <taskdef resource="svntask.xml" classpathref="maven.plugin.classpath"/>
                    <svn username="${tomcat.username}" password="${tomcat.password}">
                        <diff workingcopy="/path/to/workingcopy" outfilename="svn.patch" />
                    </svn>
                </target>
            </configuration>
        </execution>
    </executions>
    <dependencies>
        <dependency>
            <groupId>com.viskan</groupId>
            <artifactId>svntask-1.8</artifactId>
            <version>1.0.0</version>
        </dependency>
    </dependencies>
</plugin>

Authentication

    <svn username="user" password="password">
        <!-- Commands -->
    </svn>

Commands

cleanup

<svn>
    <cleanup path="${project.src}" deleteWCProperties="false" />
</svn>

copy

<svn>
    <copy
        failOnDstExists="true"
        move="false"
        src="${from.url}"
        dst="${to.url}"
        commitMessage="copy by svntask" />
</svn>

delete

<svn>
    <delete force="true" deleteFiles="false" includeDirs="true" dryRun="false" path="/path/to/delete" />
    <delete force="true" deleteFiles="false" includeDirs="true" dryRun="false">
        <fileset>
            <!-- fileset -->
        </fileset>
    </delete>
</svn>

export

<svn>
    <export workingcopy="/path/to/workingcopy" exportpath="/path/to/exportdir" />
</svn>
<svn username="guest" password="">
    <export url="http://host/svn/repo" exportpath="/path/to/exportdir" />
</svn>

diff

<svn username="guest" password="">
    <diff workingcopy="/path/to/workingcopy" outfilename="svn.patch" />
</svn>

mkdir

<svn>
    <mkdir makeParents="true" path="path/to/create" commitMessage="mkdir by svntask" />
</svn>

unlock

<svn>
    <unlock breakLock="true" includeDirs="true">
        <fileset>
            <!-- fileset -->
        </fileset>
    </unlock>
</svn>
com.viskan

Viskan System AB

Versions

Version
1.0.0