[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: ANT Task for Subversion

From: Kevin Williams <kevin_w69_at_hotmail.com>
Date: 2004-06-13 16:35:33 CEST

I started writing one a long time ago, but realized "why should I wrap the
command-line tool with all this fluff when it's already been done in the
Exec task?". If the javahl bindings would give _faster_ performance, then
someone should do that. Someone who can actually get the bindings to
compile, that is. ;)

I suppose one _could_ create a task using sockets, but then you're creating
an entire svn client and have to implement various protocols like 'svn://'.
Since the command-line tool has the greatest flexibility and featureset, I
just use <exec>.

That's my $0.02. Offer void where prohibited.

>From: M <marcus.rohrmoser@gmx.de>
>To: SVN Users <users@subversion.tigris.org>
>Subject: Re: ANT Task for Subversion
>Date: Sun, 13 Jun 2004 12:46:15 +0200
>
>>Has anyone started working on a ANT task to handle Subversion?
>>
>>If not, what's the community interest? Would folks find it useful?
>
>There is a task yet. I use
>
><taskdef name="subversion"
>classname="org.apache.tools.ant.taskdefs.ExternalSubversionTask"/>
>
>and
>
><target depends="init" description="svn commit" name="svn-commit">
> <subversion args="--non-interactive --message ${svn.message}
>--username=${svn.user} --password=${svn.pwd}" command="commit"/>
></target>
>
>It's packaged in ant-subversion.jar - but I don't remember where I got it
>from (that's rahter long ago).
>
>Check http://subclipse.tigris.org/svnant.html
>
> M
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 13 16:36:44 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.