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

[Subclipse-users] Re: newbie: why svnant with subclipse

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: 2006-07-14 06:15:51 CEST

Hi all,
    SvnAnt is a set of Ant tasks for Subversion, which I'm sure you already
know. Why would using Subversion be useful from Ant? Here are a few very
good reasons:

1. Continuous Integration - As part of CI you need to get access to the
latest and greatest code to build it. SvnAnt gives you the ability to do
this without resorting to shell/batch scripts that you have to create and
maintain.
2. Automation - Some people use Ant scripts as a simple way to do
programming tasks instead of writing their own application. SvnAnt gives
you the ability to do just that and is usually used in this usage scenario
for automation purposes.
3. Build Artifact Tagging - Have you ever wanted to have a jar built with a
particular revision number from which it was built from the repository? Or
have you ever wanted to have revision information like author, log message,
revision and the likes in your build artifacts, which could include
binaries, documentation, web content and the likes? SvnAnt gives you that
capability.

I could go on forever for valid reasons for SvnAnt. SvnAnt is a very useful
addition to Ant in the proper respects. Is SvnAnt necessary for all Ant
users? Probably not but for those of you who don't want to write a lot of
applications and scripts to do what I mentioned above and more, SvnAnt is
what you are looking for.

Take care,

Jeremy

On 7/13/06, Graham Anderson <grahama@siren.cc> wrote:
>
> Is there a situation where using ant would be preferable to an svn
> client ?
>
> many thanks
>
> On Jul 13, 2006, at 6:27 PM, Brad Bruce wrote:
>
> > Graham Anderson wrote:
> >
> >> I am a bit confused why you would want to use svnant with
> >> subversion/ subclipse
> >>
> >> Seems that you can do everything in svn without needing to write
> >> xml for ant?
> >>
> >> what is is svnant's purpose ?
> >>
> >> many thanks :)
> >> g
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> >> For additional commands, e-mail: users-help@subversion.tigris.org
> >>
> >>
> > It's for calling SVN from Ant. You would still use your regular
> > SVN client for most work, but you can also run an ant build script
> > that retrieves files from SubVersion.
> >
> > Brad
> >
> > ---------------------------------------------------------------------
> > 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 Fri Jul 14 06:17:41 2006

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

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