Viskan Distanshandel System AB :: svntask :: Core

Contains the actual code for the svntask project.

License

License

Categories

Categories

Subversion Development Tools Version Controls
GroupId

GroupId

com.viskan
ArtifactId

ArtifactId

svntask-core
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Viskan Distanshandel System AB :: svntask :: Core
Contains the actual code for the svntask project.
Project Organization

Project Organization

Viskan Distanshandel System AB

Download svntask-core

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.ant : ant jar 1.7.0
org.tmatesoft.svnkit : svnkit Optional jar 1.7.11

Project Modules

There are no modules declared in this project.

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