Josh,
Your example scenario is a great example for an SvnAnt use case. I did
this during my CI process. If the build was successful, tag the current
trunk and deploy to our internal dev server. You could also use this for
release management and have an Ant build script to perform a release from a
tag. As far as running Ant from Eclipse, there is no harm with running Ant
from the command line or Eclipse. It shouldn't play a part in your decision
to use SvnAnt.
Take care,
Jeremy
On 7/14/06, Joshua Curtiss <j.curtiss@rvc.cc.il.us> wrote:
>
>
>
> Jeremy Whitlock wrote:
> >
> > 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.
> >
>
> Jeremy,
>
> I have not begun using it, but the unit testing approach I will be
> adopting
> can use Ant from directly within Eclipse, which I plan to do. Although I
> suppose I could write functionality to do unit testing on specific tagged
> versions within the repository, that would probably be overkill and
> Subversion/Ant integration would be unnecessary there.
>
> However, I'm wondering if it might be beneficial to use Ant for deploying
> my
> web apps to the live server when the time comes, and in this case, SVN/ANT
> integration would probably be nice.
>
> Some possible ideas..
>
> - Functionality to deploy a particular tagged version to the live server.
> - Functionality to deploy a tag marked "live" to the live server.
>
> Better yet..
>
> 1. Save trunk to a new tagged version. Then,
> 2. Remove existing "live" tag and recreate "live" tag from trunk. Then,
> 3. Deploy new "live" tag to the server.
>
> All in one script. This is the kind of thing I would do in Ant, is it not?
> Does this make sense, or would it be a waste of time? The alternative that
> I
> was planning on was making the web app directories on the server actual
> SVN
> working copies of the project's "live" tag, and I would have to manually
> go
> to them and update them to pull the latest code. If I could instead push
> the
> code from directly within Eclipse via Ant, that certainly seems like it
> would be better.
>
> Thoughts?
>
> Josh
> --
> View this message in context:
> http://www.nabble.com/newbie%3A-why-svnant-with-subclipse-tf1940774.html#a5330996
> 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:59:02 2006