Subclipse.unkrig.de: Difference between revisions

From unkrig.de
Jump to navigation Jump to search
mNo edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Introduction =
<meta name="keywords" content="java, eclipse, subclipse, subversion, svn, plug-in, plugin"></meta>
<meta name="description" content="An ECLIPSE plug-in that adds an ANT task that uses the SVN client that is provided by the SUBCLIPSE plug-in"></meta>
== 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.
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.
Line 5: Line 7:
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.
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 =
== Download and Installation ==


Within ECLIPSE, download and install the feature from the update site
Within ECLIPSE, download and install the feature from the update site
Line 11: Line 13:
  http://subclipse.unkrig.de/update
  http://subclipse.unkrig.de/update


= ANT task description =
The change log is available [http://subclipse.unkrig.de/changelog.txt here].


== ANT task <de.unkrig.subclipse.svn> ==
== Task Documentation ==


Executes a series of SVN commands
: [http://subclipse.unkrig.de/antdoc/tasks/de.unkrig.subclipse.svn.html <code><de.unkrig.subclipse.svn></code>]


=== Subelements ===
== Examples ==


==== <addDirectory> ====
Tagging projects in SVN:
(Not yet implemented.)


==== <addFile> ====
&lt;!-- Verify that ANT is running in the same JVM as ECLIPSE. -->
(Not yet implemented.)
<fail
    unless="eclipse.running"
    message="Please activate the ECLIPSE external tool configuration option 'Run in the same JRE as the workspace' and re-run."
/>
&lt;!-- Verify that the 'de.unkrig.subclipse' plugin is available. -->
<fail message="Please install the 'de.unkrig.subclipse' ECLIPSE feature and re-run.">
    <condition><not><typefound name="de.unkrig.subclipse.svn" /></not></condition>
</fail>
<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>


==== <addKeywords> ====
If you like loading ANT tasks in separate XML namespaces, you can alternatively write:
(Not yet implemented.)


==== <annotate> ====
<''some-enclosing-tag-e-g-project-or-target'' <font color="red">xmlns:unkrig="antlib:de.unkrig.subclipse"</font>>
(Not yet implemented.)
    ...
    <!-- Verify that ANT is running in the same JVM as ECLIPSE. -->
    <fail
        unless="eclipse.running"
        message="Please activate the ECLIPSE external tool configuration option 'Run in the same JRE as the workspace' and re-run."
    />
    <!-- Verify that the 'de.unkrig.subclipse' plugin is available. -->
    <fail message="Please install the 'de.unkrig.subclipse' ECLIPSE feature and re-run.">
        <condition><not><typefound <font color="red">uri="antlib:de.unkrig.subclipse" name="svn"</font> /></not></condition>
    </fail>
    <<font color="red">unkrig:svn</font>>...


==== <checkout> ====
, where "<code>unkrig</code>" is the (arbitrary) XML namespace prefix.
(Not yet implemented.)


==== <commit> ====
== License ==
(Not yet implemented.)


==== <copy> ====
SUBCLIPSE.UNKRIG.DE is published under the "[[New BSD License]]".
'''Attributes:'''
;srcUrl
;destUrl
;srcPath
;destPath
;message
;revision
;pegRevision
;copyAsChild
;makeParents


'''Subelements:'''
== Source Code ==
;Resource collection : <fileset> or <dirset>


==== <createPatch> ====
Source code is available via SVN on
(Not yet implemented.)
 
==== <createRepository> ====
(Not yet implemented.)
 
==== <diff> ====
(Not yet implemented.)
 
==== <diffSummarize> ====
(Not yet implemented.)
 
==== <getProperties> ====
(Not yet implemented.)


==== <getRevProperties> ====
:https://svn.code.sf.net/p/loggifier/code
(Not yet implemented.)


==== <lock> ====
. From that repository, check out the projects
(Not yet implemented.)
*de.unkrig.checkstyle-configuration
*de.unkrig.commons.nullanalysis
*de.unkrig.subclipse_dist
*de.unkrig.subclipse.ant.tasks
*de.unkrig.subclipse.branding
*de.unkrig.subclipse.core
*org.apache.ant-1.8.4
, or, if you are using ECLIPSE, just import https://svn.code.sf.net/p/loggifier/code/trunk/de.unkrig.subclipse_dist/projectSet.psf.


==== <merge> ====
== Contact ==
(Not yet implemented.)
 
==== <mkdir> ====
'''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.)
 
= 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
For bugs, improvements, complaints, or any other kind of feedback, send email to [mailto:arno@subclipse.unkrig.de arno@subclipse.unkrig.de].

Latest revision as of 19:19, 21 January 2016

<meta name="keywords" content="java, eclipse, subclipse, subversion, svn, plug-in, plugin"></meta> <meta name="description" content="An ECLIPSE plug-in that adds an ANT task that uses the SVN client that is provided by the SUBCLIPSE plug-in"></meta>

Introduction[edit]

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[edit]

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

http://subclipse.unkrig.de/update

The change log is available here.

Task Documentation[edit]

<de.unkrig.subclipse.svn>

Examples[edit]

Tagging projects in SVN:

<!-- Verify that ANT is running in the same JVM as ECLIPSE. -->
<fail
    unless="eclipse.running"
    message="Please activate the ECLIPSE external tool configuration option 'Run in the same JRE as the workspace' and re-run."
/>

<!-- Verify that the 'de.unkrig.subclipse' plugin is available. -->
<fail message="Please install the 'de.unkrig.subclipse' ECLIPSE feature and re-run.">
    <condition><not><typefound name="de.unkrig.subclipse.svn" /></not></condition>
</fail>

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

If you like loading ANT tasks in separate XML namespaces, you can alternatively write:

<some-enclosing-tag-e-g-project-or-target xmlns:unkrig="antlib:de.unkrig.subclipse">
    ...
    <fail
        unless="eclipse.running"
        message="Please activate the ECLIPSE external tool configuration option 'Run in the same JRE as the workspace' and re-run."
    />

    <fail message="Please install the 'de.unkrig.subclipse' ECLIPSE feature and re-run.">
        <condition><not><typefound uri="antlib:de.unkrig.subclipse" name="svn" /></not></condition>
    </fail>

    <unkrig:svn>...

, where "unkrig" is the (arbitrary) XML namespace prefix.

License[edit]

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

Source Code[edit]

Source code is available via SVN on

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

. From that repository, check out the projects

  • de.unkrig.checkstyle-configuration
  • de.unkrig.commons.nullanalysis
  • de.unkrig.subclipse_dist
  • de.unkrig.subclipse.ant.tasks
  • de.unkrig.subclipse.branding
  • de.unkrig.subclipse.core
  • org.apache.ant-1.8.4

, or, if you are using ECLIPSE, just import https://svn.code.sf.net/p/loggifier/code/trunk/de.unkrig.subclipse_dist/projectSet.psf.

Contact[edit]

For bugs, improvements, complaints, or any other kind of feedback, send email to arno@subclipse.unkrig.de.