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.
On 7/14/06, Joshua Curtiss <email@example.com> wrote:
> Jeremy Whitlock wrote:
> > I'll do what I can but it is most important to remember that SvnAnt
> > only useful for scenarios when you are using Ant.
> I have not begun using it, but the unit testing approach I will be
> 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
> 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
> was planning on was making the web app directories on the server actual
> working copies of the project's "live" tag, and I would have to manually
> to them and update them to pull the latest code. If I could instead push
> code from directly within Eclipse via Ant, that certainly seems like it
> would be better.
> View this message in context:
> Sent from the Subversion Users forum at Nabble.com.
> To unsubscribe, e-mail: firstname.lastname@example.org
> For additional commands, e-mail: email@example.com
Received on Fri Jul 14 19:58:37 2006