Hi, -----Original Message----- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Monday, August 22, 2005 4:39 PM To: Ant Users List Subject: Re: Sync inside scp/ssh ?
/* Only local. I even initially called it <lsync>, for local sync to contrast with Unix' rsync command, but Stefan renamed it <sync> when he integrated it to Ant. */ Ok, the ant manual has not very much info on <sync> /* Plus most of the job done by sync is to actually figure out what changed between the two trees, which you already get thru your custom parsing of the CC log file. */ yup, it works, but i'm looking for an easier way. Parsing CC updatelog, writing two files, iterate over that with antcontrib ... all with nested loops -> for each configuration i have a list of servernames, a list of files to copy, a list of files to delete ... would be nice if there would be a simpler sync meachanism How to extend the sync task for working remotely also ? Is there something like that coming with ant 1.7 ? /* PS: Better to use Ant-Contrib's <for> instead of <foreach>. You avoid the equivalent to the <antcall> for each iteration, which is usually faster and takes less memory. */ Thanks for the tip, i'll try it. Maybe with <for> and <sequential> i'll get rid off some loops. Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
