ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: AW: How to copy from one remote directory to another remote d irec tory?
Date Thu, 27 Jan 2005 14:55:47 GMT
O-k-a-y - that´s a point.
Comparable with starting the build via a mobile phone :)

Your basic idea is "let remote1 copy the files to remote2". The only way to
instruct remote1 is via the shell commands (telnet, ssh, ...). So I suggest
using <sshexec>.


Jan


> -----Ursprüngliche Nachricht-----
> Von: Dave Bartmess [mailto:dingodave@edingo.net]
> Gesendet am: Donnerstag, 27. Januar 2005 15:50
> An: Ant Users List
> Betreff: Re: AW: How to copy from one remote directory to 
> another remote
> direc tory?
> 
> Sorry should have mentioned that because of the size of the transfers
> (over 50Megs each time) I can't copy from remote to local, then back
> again... It would take > 1 hour for the build, vs 20 minutes 
> without it.
> The remote site is across the continent, and we're trying to avoid
> massive transfers due to bandwidth in the company WAN...
> 
> On Thu, 2005-01-27 at 15:27 +0100, Jan.Materne@rzf.fin-nrw.de wrote:
> > copy from remote1 to local
> > copy from local to remote2
> > delete from local
> > 
> > But why no ssh?
> > You could place the copy statement via <sshexec>.
> > 
> > 
> > Jan
> > 
> > > -----Ursprüngliche Nachricht-----
> > > Von: Dave Bartmess [mailto:dingodave@edingo.net]
> > > Gesendet am: Donnerstag, 27. Januar 2005 15:24
> > > An: user@ant.apache.org
> > > Betreff: How to copy from one remote directory to another remote
> > > directory?
> > > 
> > > I see in the ant tasks that scp and ftp are available, 
> but they only
> > > copy from a local source to a remote destination. I'm 
> trying to copy
> > > files between two remote directories, and not finding any 
> tasks to do
> > > that. 
> > > 
> > > I know I can use ssh, but I'm trying to avoid that one 
> for security
> > > purposes. 
> > > 
> > > I could write a task, but for this one incarnation on a 
> > > single project,
> > > it seems a bit extreme. I'm hoping someone out there has 
> already done
> > > this!
> > > 
> > > Any ideas?
> > > -- 
> > > David A. Bartmess
> > > Software Configuration Manager / Sr. Software Developer
> > > eDingo Enterprises
> > > http://edingo.net
> > > _________________________________________________________________
> > > jSyncManager Development Team (http://www.jsyncmanager.org)
> > > jSyncManager Email List
> > > (https://lists.sourceforge.net/lists/listinfo/jsyncmanager-devel)
> > >  
> > >  But one should not forget that money can buy a bed but 
> not sleep, 
> > >  finery but not beauty, a house but not a home, 
> > >  medicine but not health, luxuries but not culture, 
> > >  sex but not love, and amusements but not happiness.
> > > 
> -- 
> David A. Bartmess
> Software Configuration Manager / Sr. Software Developer
> eDingo Enterprises
> http://edingo.net
> _________________________________________________________________
> jSyncManager Development Team (http://www.jsyncmanager.org)
> jSyncManager Email List
> (https://lists.sourceforge.net/lists/listinfo/jsyncmanager-devel)
>  
>  But one should not forget that money can buy a bed but not sleep, 
>  finery but not beauty, a house but not a home, 
>  medicine but not health, luxuries but not culture, 
>  sex but not love, and amusements but not happiness.
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message