zcxv / svntask Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/svntask
License: Apache License 2.0
Automatically exported from code.google.com/p/svntask
License: Apache License 2.0
I wanted to use SvnTask in my personnal IC server.
To do that, I had to add "revert" and "tag" tasks.
Chris
Original issue reported on code.google.com by [email protected]
on 22 Oct 2011 at 10:05
Attachments:
Support for svn-checkout would be nice, patch attached.
Original issue reported on code.google.com by spudbean
on 7 Feb 2010 at 12:36
Attachments:
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
How do I install svntask?
Thanks [email protected]
Original issue reported on code.google.com by [email protected]
on 24 Aug 2009 at 9:56
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
Same as the commandline -g option.
patch attached.
Original issue reported on code.google.com by [email protected]
on 26 Jan 2010 at 7:05
Attachments:
I wish to export a recursive directory tree but only fetch files that match
a given pattern. Unfortunately, the useful svnFileSet is not supported by
either checkout or export commands.
Original issue reported on code.google.com by [email protected]
on 8 Mar 2010 at 7:57
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:
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
Adding a simpler patch to support formatting the commit date.
Original issue reported on code.google.com by [email protected]
on 10 Jan 2012 at 2:20
Attachments:
Hey Jon
I added the committedRevisionProperty to the 'Info' task with this patch.
I know it's available on the 'Status' task, but the 'Status' task is much
slower than 'Info'.
Best regards
Henrik Pedersen
www.code3.dk
Original issue reported on code.google.com by [email protected]
on 1 Apr 2009 at 11:13
Attachments:
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
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
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:
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
see attached patch
Original issue reported on code.google.com by [email protected]
on 25 Jan 2010 at 8:43
Attachments:
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:
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:
attaching patch for adding svn log capability to svntask.
Original issue reported on code.google.com by [email protected]
on 25 Jun 2009 at 6:08
Attachments:
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
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:
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
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
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:
Please extend svn log command to output log as xml.
Xml output shall be the same as following command line invocation:
svn log <svn url> --xml
Original issue reported on code.google.com by [email protected]
on 17 May 2011 at 3:05
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
I have created a switch task for svntask.
I have attached the patch file.
Original issue reported on code.google.com by [email protected]
on 23 Apr 2009 at 7:30
Attachments:
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
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:
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
There is a "delimeter" property. This would better be spelled "delimiter".
Original issue reported on code.google.com by [email protected]
on 21 Dec 2010 at 2:35
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:
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.