RE: SCP and SSHExec tasks

2008-11-28 Thread Rez
Thanks everyone.> Date: Wed, 26 Nov 2008 11:16:00 -0800> From: [EMAIL PROTECTED]> To: user@ant.apache.org> Subject: Re: SCP and SSHExec tasks> > The scp task will not create remote directories. Also, there is no recursive> option. Yes, you can specify a fileset, but th

Re: SCP and SSHExec tasks

2008-11-26 Thread David Crossley
Rez wrote: > > Is it possible to create the directories on the remote server on the fly as > the scp ant task is executed or do I need to run sshexec to create them first? At Apache Forrest our "forrestbot" can deploy using the Ant scp task. It does certainly successfully create new remote dire

Re: SCP and SSHExec tasks

2008-11-26 Thread Robert Anderson
The scp task will not create remote directories. Also, there is no recursive option. Yes, you can specify a fileset, but the directory structure will not be preserved (as far as I know). If you are moving a bunch of files and want to preserve the directory structure, the best thing to do is... 1.

Re: SCP and SSHExec tasks

2008-11-26 Thread Steve Loughran
Rez wrote: Hi Is it possible to create the directories on the remote server on the fly as the scp ant task is executed or do I need to run sshexec to create them first? I use sshexec first, with a mkdir -p as the command. I also have a couple of presetdef definitions to simplify making com

SCP and SSHExec tasks

2008-11-25 Thread Rez
Hi Is it possible to create the directories on the remote server on the fly as the scp ant task is executed or do I need to run sshexec to create them first? Thanks _ Windows Live Hotmail now works up to 70% faster. http://windo