Giter Club home page Giter Club logo

svntask's People

svntask's Issues

User authentication needs to be added to the core system

Hi,
it would be great if you could give some more examples how to use svntask.
I'm still trying to figure out how it works.

This is what I tried:
<svn>
<ls repository="http://192.168.0.254" path="/svn/dir/project1"
username="name" password="pass" />
</svn>

Thanks in advance.
Hendrik

Original issue reported on code.google.com by [email protected] on 9 Jul 2009 at 1:59

checkout command should support authentication

Please add authentication support for checkout command.
Currently following error occurs:
[svn] svn: Authentication required for '<https://<svn repository>> xxx'

Currently ant finishes with "BUILD SUCCESSFUL", although svn task failed. 
Please add proper error handling and let ant build fail.

Original issue reported on code.google.com by [email protected] on 24 May 2011 at 3:07

  • Merged into: #13

Patch for svn info

Hi Jon,

The attached patch adds a new parameter remoteRepoURL to implement the svn
info command with a URL as parameter. Thus the ant-script does not need to
be run in a working-copy.



Best regards
 Armin

Original issue reported on code.google.com by [email protected] on 28 Jul 2009 at 9:34

Attachments:

svn 1.7 is not supported

Could you please provide support for svn 1.7? (svnkit snapshots are already 
available)
The only operation I need is get revision number :)

Thanks in advance

Original issue reported on code.google.com by [email protected] on 26 Oct 2011 at 6:29

svntask doesn't detect subversion managed files

What steps will reproduce the problem?
1. Checkout svntask from google code
2. Run ant in the project
3. Look at the output:

Buildfile: build.xml

init:

javac:

version:
      [svn] info F:\Projekte\svntask
      [svn] svn: 'F:\Projekte\svntask\.' is not under version control

jar:
      [jar] Building jar: F:\Projekte\svntask\target\svntask.jar

compile:

Original issue reported on code.google.com by [email protected] on 10 Jun 2009 at 12:20

Conflicting and incorrect documentation in svnant-1.3.0.zip Release file.

What steps will reproduce the problem?

1. Download svnant-1.3.0.zip Release

2. Note conflicting installation instructions in different documentation files.

Correct:
    readme.txt    
    doc/svn.html  

Incorrect:    
    doc/types.html       
    doc/selectors.html
    doc/conditions.html
- All of these files suggest that you need to register types separately.

3. Inspection of 
      svnant.xml file inside the svnant.jar file 
      shows that it registers all Tasks, Types, Selectors and Conditions.

Original issue reported on code.google.com by [email protected] on 8 Mar 2010 at 7:30

A feature like the urlProperty on svnant

Hey

I needed a feature like the urlProperty on svnant status
(http://subclipse.tigris.org/svnant/svn.html#status) so I created a patch
for it.

Please let me know if I can be of further help.

Best regards

Henrik Pedersen
www.code3.dk


Original issue reported on code.google.com by [email protected] on 3 Jul 2008 at 12:07

Attachments:

Feature request: Add logging & dryrun to all commands

A verbose option would be useful to display each svn command and it's
output as it's executed to assist in testing script and later auditing
production scripts. 

It can be dangerous to use a live production repository to test subversion
commands. I think you really need a "dryrun" boolean option on the <svn>
task that displays what would be performed if the commands were executed .
It should display the set of files that would be affected, in other words
its uses the verbose logging but does not actually execute the commands.

Thanks for svntask.


Original issue reported on code.google.com by [email protected] on 8 Mar 2010 at 8:06

svn cat patch

This patch allows you to get the contents of a file and store it in an ant
property.


<svn><cat url="${svn.branchdir}/VERSION" contentsProperty="version"/></svn>

it also includes a string-munging task that just chops off the last
component of a URL...  we use it, but not sure it's needed in general
(there may be other ant tasks for string manipulation elsewhere)?

<svn><getParentUrl url="${svn.url}" parentUrlProperty="svn.branchdir" /></svn>


Original issue reported on code.google.com by [email protected] on 28 Jan 2009 at 6:57

Attachments:

Patch for Status

Hey Jon

Here is a patch that completes most of the missing work for the 'status' task.

I have fixed all the missing setters in Status.java and added the
"addStatus" method to SvnTask.java.


Please let me know if I can be of further help.

Best regards

Henrik Pedersen
www.code3.dk

Original issue reported on code.google.com by [email protected] on 31 Mar 2009 at 11:36

Attachments:

Missing properties for several tasks in a single <svn> block

This works properly, log is fetched
<svn>
 <checkout url="${url}" path="${checkout.path}" />
 <info path="${checkout.path}" committedRevisionProperty="svn.revision" />
</svn>
<svn>
 <log path="${checkout.path}" startRevision="${svn.revision}" endRevision="${svn.revision}" logProperty="svn.log" />
</svn>

This works incorrectly, produces "---------" log message
<svn>
 <checkout url="${url}" path="${checkout.path}" />
 <info path="${checkout.path}" committedRevisionProperty="svn.revision" />
 <log path="${checkout.path}" startRevision="${svn.revision}" endRevision="${svn.revision}" logProperty="svn.log" />
</svn>

Manifest:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 17.1-b03-307 (Apple Inc.)
Specification-Version: 1.0.8
Implementation-Version: November 20 2010
Main-Class: com.googlecode.svntask.Version

The same applies to any other command sequence, where ANT properties are 
expected to be set.

Original issue reported on code.google.com by [email protected] on 3 May 2011 at 4:43

Patch for add and commit commands

Attached is a patch implementing svn add and commit commands.  Command
parameters are basically taken straight out of the corresponding svnkit
methods.

Usage:

<svn><add path="/path/to/add" recursive="true" force="false"
climbUnversionedParents="true" mkdir="true" /></svn>

<svn><commit path="/path/to/commit" keepLocks="false"
commitMessage="message" force="true" recursive="true" /></svn>

Background: 

We've been using svntask for a while at Bizo.com to help version our
projects.  We're moving towards a more automated build system that needed
Ant access to add and commit, so we thought that we'd contribute our
modifications back to the project.  

Original issue reported on code.google.com by darren%[email protected] on 28 Apr 2009 at 12:49

Attachments:

tried to compile the code with svnkit 1.1.8 got an error in doUpdate

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
compile should have succeeded, the doUpdate now have only 3 parameters,
force was removed. 

What version of the product are you using? On what operating system?
1.0.3

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Jul 2008 at 12:23

version 1.0.5 throwing an exception

What steps will reproduce the problem?
1. downloaded 1.0.5 and put the svnkit.jar and svntask.jar in tools
directory of my project.
2. copied the example target into my build.xml file
3. ant version - failed -- see below
4. downloaded 1.0.4 and put the svnkit.jar and svntask.jar in tools
directory of my project.
5. ant version then worked as expected.

What is the expected output?

ant version
Buildfile: build.xml

version:
      [svn] info /home/rick.feldmann/dev/buildmaster
     [echo] revisionVersion 29555

BUILD SUCCESSFUL
Total time: 0 seconds

What do you see instead?

ant version
Buildfile: build.xml

version:

BUILD FAILED
/home/rick.feldmann/dev/buildmaster/build.xml:370:
java.lang.UnsupportedClassVersionError: Bad version number in .class file

Total time: 0 seconds


What version of the product are you using? 1.0.5 failed - 1.0.4 successful

On what operating system? fedora core 9, ant 1.7.0


Please provide any additional information below.

<target name="version">
    <taskdef resource="com/googlecode/svntask/svntask.xml" >
        <classpath>
            <fileset dir="tools">
                <include name="svnkit.jar" />
                <include name="svntask.jar" />
            </fileset>
        </classpath>
    </taskdef>
    <svn>
        <info path="." revisionProperty="revisionVersion" />
    </svn>
    <echo message="revisionVersion ${revisionVersion}" />
</target>

Original issue reported on code.google.com by [email protected] on 22 Jun 2009 at 2:36

Feature Request: Configurable DateFormat in Info command

Hello,

Thanks for the simple and very cool svn tasks :-)
I've added a new property called "committedDateFormatPattern" to the Info svn 
command. Now, I can use it like:

<info
    path="." 
    committedRevisionProperty="revisionVersion"
    authorProperty="revisionAuthor"
    committedDateProperty="revisionDate"
    committedDateFormatPattern="yyyy-MM-dd hh:mm:ss"
/>

Maybe you want to add this to the trunk (see patch).
Sorry for the formatting problems :-(

Cheers,

Martin

Original issue reported on code.google.com by [email protected] on 8 Aug 2011 at 12:02

Attachments:

Authentication on Checkout

I looked at Issue 13 and wasn't sure if I should comment on that ticket or 
create a new one, but I seem to be having the same issue with the checkout 
command.

<svn>
  <ls username="${operator.name}" password="${operator.passwd}" repository="${build.svn.url}" path="${build.svn.path}"/>
  <checkout url="${build.svn.url}" path="${root.dir}" force="true" />
</svn>

Here is the output when I run the build:

[svn] ls http://foo.com/bar:code_base/project/trunk
[svn] checkout http://foo.com/bar/Volumes/Users/asteiger/Sites/test
[svn] svn: Authentication required for '<http://amexsvn.digitas.com:80> AET 
Repository'

Also for the checkout, I assume that URL is the full SVN url to the content and 
path is the local directory to checkout to.

Thank you in advance for the help.


Original issue reported on code.google.com by [email protected] on 15 Apr 2011 at 3:01

  • Merged into: #13

the task name is not unique

Hi,

I know you won't love to here it, but there is already an svn task defined
by the svnant project. I loved the simplicity of your task and included it
in our (opensource) build system, but had name conflicts with the svnant
task we are using for checking-out and commiting the ivy-repository. I've
patched the downloaded version to listen to svntask instead of svn, but
maybe you should consider renaming the task in your trunk, since svnant was
first to name a task svn (to my knowledge).
Anyway, thanx for great job.


Original issue reported on code.google.com by [email protected] on 3 Dec 2009 at 12:52

Get commited revision patch

This patch allows you to get the last commited revision number. It's very
helpful when you want to know from which revision is you build.

<typedef resource="com/googlecode/svntask/svntask.xml">
    <classpath >
        <fileset dir="${ext.lib.dir}/ant/svntask" includes="**/*.jar"/>
    </classpath>
</typedef>

<svn>
    <info path="${basedir}" committedRevisionProperty="svn.revision" />
</svn>

Original issue reported on code.google.com by [email protected] on 21 Jul 2008 at 1:59

Attachments:

improve documentation

Each task should be documented in the wiki with a usage example and a list 
of each of the available properties.

Original issue reported on code.google.com by [email protected] on 11 Jul 2009 at 12:23

Recursive Status

The current way of using the StatusClient has no way of recursing through 
directories.

I would think extending it to allow recursion makes it much more useful (as a 
platform-independent replacement for subwcrev in my case).

The attached file can be taken as a template that shows what is meant.

Original issue reported on code.google.com by [email protected] on 18 Dec 2010 at 2:52

Attachments:

Connect to SVN repository with a svn protocol ?

Hi all,


I'm wondering if it's possible to use svntask with a SVN protocol connection, 
to connect to my SVN repository instead of using http protocol like actually !? 
(or another library maybe ..)





Original issue reported on code.google.com by [email protected] on 28 Feb 2012 at 8:37

Support svnant

There is no wiki or forum, so here goes...

svnant is now at 1.2.0 RC1 and uses svnkit.  So it is maintained, fully 
featured, and fully java.

I'd suggest aiming to discontinue this project and let people know that 
svnant will work for them.

Original issue reported on code.google.com by [email protected] on 4 Sep 2008 at 2:54

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.