----- Original Message -----
From: "Brennan Stehling" <[EMAIL PROTECTED]>
To: "Ant Developers List" <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 16:17
Subject: sync files with Ant?


> I would like to build a sync capability as an Ant feature but I think I
> need some pointers with getting started.  I just tried to build Ant
> 1.5.2 and got some SAX problems.  I also need to know where to begin
> once I can get everything compiled.
>
> The Ant feature I would like to create is something that I would like
> to use at work.  I manage a 3 tier development system where we have a
> development, test and production environment.  I have an Ant script
> doing all of the building for me and once it is built I want to copy
> the files to the test and production servers.  To do this I want an Ant
> process that does something like rsync, but to start it will just do
> copying to local directories.
>
> The sync process will do a comparison to check if files need to be
> created, replaced or deleted in the destination location.  The behavior
> would also need to be configurable.  I could create software which
> would do all of this outside of Ant, but it seems like a logical
> feature to add to Ant.
>

yes, this would be good. one problem we always have is with remote
destinations and reading things like filestamps, esp. with FTP, as there are
so many ways to do directory listings. Keep FTP out of it.


But we are adding SSH support into ant, and an rsync equivalent over SSH
would be very slick indeed.

Reply via email to