[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 19:13:59 CEST

Josh,
    I'll do what I can but it is most important to remember that SvnAnt is
only useful for scenarios when you are using Ant. Eclipse is an IDE which
you do to develop, test, debug and such but you do not use Eclipse to build
binaries and to do reproducible builds/tests. Ant is where you would go to
do these reproducible builds. These builds might include testing, reporting
and such. Here is an example scenario of a reproducible build:

(All done in Ant)
-----------------------
1. Use SvnAnt to either export/checkout code after a commit or update to
bring the latest code created since your last update
2. Compile sources and test sources
3. Run unit tests
4. Create stage for integration and regression tests
5. Run integration/regression tests
6. Code reports like JUnit report and the likes
7. Possibly use SvnAnt to commit these reports to the repository or commit
your local changes if successful

Obviously this is just an example. I think you are slightly
misunderstanding the use case for SvnAnt. SvnAnt is a Subversion client for
Ant that allows you to do Subversion tasks during your build process when
you need to. I became familiar with SvnAnt as part of my Continuous
Integration process that would go through the steps above and then some
release management using SvnAnt to tag build artifacts with Subversion
information like revision numbers on jars, like distribution_rev53.jar where
revision 53 is the current revision for the build root of this project. If
you are using Ant and need to automate, script or use Subversion tasks as
part of your build/CI process, SvnAnt is where you would need to go.

Take care,

Jeremy

P.S. - Does this help? If you need more clarity, please let me know.

On 7/14/06, Joshua Curtiss <j.curtiss@rvc.cc.il.us> wrote:
>
>
>
> Jeremy Whitlock wrote:
> >
> > I could go on forever for valid reasons for SvnAnt.
> >
>
> Jeremy, could you indulge me and list some more reasons? I use Eclipse for
> web development (thus a build doesn't require compiling, just deployment)
> and just starting to use Subversion. Can you think of things that are
> specifically beneficial for a web developer? I'm sure its useful but I'm
> looking for you to spark my imagination. :-D
>
> Josh
> --
> View this message in context:
> http://www.nabble.com/newbie%3A-why-svnant-with-subclipse-tf1940774.html#a5330154
> Sent from the Subversion Users forum at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Received on Fri Jul 14 19:16:15 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.