Subclipse.unkrig.de: Difference between revisions

From unkrig.de
Jump to navigation Jump to search
No edit summary
Line 67: Line 67:
==== <diffSummarize> ====
==== <diffSummarize> ====
(Not yet implemented.)
(Not yet implemented.)
==== <export> ====
Representation of an [http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.export.html svn export] subcommand.
===== Attributes =====
;srcUrl, srcPath: File or directory to export
;destPath:        Where to copy the file or directory
;revision
;force:          Whether to overwrite existing files
==== <import> ====
Representation of an [http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.import.html svn import] subcommand.
===== Attributes =====
;path:    File or directory to import
;url:      Destination repository location
;message
;recurse


==== <getProperties> ====
==== <getProperties> ====

Revision as of 16:16, 17 September 2013

Introduction

This ECLIPSE plug-in adds an additional ANT task 'de.unkrig.subclipse.svn' which is available in ANT builds which have the option 'Run in the same JRE as the workspace' set.

The ANT task uses the SVN client that is provided by the SUBCLIPSE plug-in. Thus no configuration is required, because it is re-used from SUBCLIPSE.

Download and Installation

Within ECLIPSE, download and install the feature from the update site

http://subclipse.unkrig.de/update

Task Descriptions

Task <de.unkrig.subclipse.svn>

Executes a series of SVN commands

Attributes

(None.)

Subelements

<addDirectory>

(Not yet implemented.)

<addFile>

(Not yet implemented.)

<addKeywords>

(Not yet implemented.)

<annotate>

(Not yet implemented.)

<checkout>

(Not yet implemented.)

<commit>

(Not yet implemented.)

<copy>

Representation of an svn copy subcommand.

Attributes
srcUrl, srcPath
File to copy (resource collection subelements are an alternative to specify multiple source files; see below)
destUrl, destPath
Where to copy the file(s) (must be an existing directory iff multiple source files are specified)
message
revision
pegRevision
copyAsChild
makeParents
Subelements
Resource collection (<fileset>, <dirset>, ...)
An alternative to the 'srcPath' and 'srcUrl' attributes to specify multiple source files.

<createPatch>

(Not yet implemented.)

<createRepository>

(Not yet implemented.)

<diff>

(Not yet implemented.)

<diffSummarize>

(Not yet implemented.)

<export>

Representation of an svn export subcommand.

Attributes
srcUrl, srcPath
File or directory to export
destPath
Where to copy the file or directory
revision
force
Whether to overwrite existing files

<import>

Representation of an svn import subcommand.

Attributes
path
File or directory to import
url
Destination repository location
message
recurse

<getProperties>

(Not yet implemented.)

<getRevProperties>

(Not yet implemented.)

<lock>

(Not yet implemented.)

<merge>

(Not yet implemented.)

<mkdir>

Representation of an svn mkdir subcommand.

Attributes
url
message

<move>

(Not yet implemented.)

<relocate>

(Not yet implemented.)

<remove>

(Not yet implemented.)

<revert>

(Not yet implemented.)

<unlock>

(Not yet implemented.)

<update>

(Not yet implemented.)

Example

<property name="d" value="http://svn.acme.com/svn/MyRepo/tags/${tag}"/>
<de.unkrig.subclipse.svn>
    <mkdir                          url="${d}"/>
    <copy srcpath="."           desturl="${d}"/>
    <copy srcpath="../project2" desturl="${d}"/>
</de.unkrig.subclipse.svn>

License

SUBCLIPSE.UNKRIG.DE is published under the "New BSD License".

Source Code

Source code is available via SVN on

https://svn.code.sf.net/p/cvstools/code