RE: Simple problem with ANT

2005-01-30 Thread Bill Rich
Hello Alvaro, Since you have two targets named tar1 Ant will execute just the first one. The second one does not make any sense. Try this: HTH Bill -Original Message- From: Alvaro Andrés Montañez [mailto:[EMAIL PROTECTED] Sent: Saturday, January 29, 2005 8:01 AM To

Problems with copying and renaming files

2005-01-30 Thread Swathi Rao
Hi, I have some files which get generated as intermediate files while running a process. However I need to use these files in the further steps. But the names for the files are generated randomly...except for the suffix and extension. I need to copy these files and rename them before using them.

Re: How to remotely copy files from remote server to remote server?

2005-01-30 Thread Nicolas Vervelle
IHMO, even if you find a task that copy from a remote server to an other one, the task will need to retrieve the files from the first server to copy them to the second server. I really don't see how you could do a direct copy without executing a process on one of the server. - Original Messa

How to remotely copy files from remote server to remote server?

2005-01-30 Thread Dave Bartmess
I've tried several ways, but can't seem to find a way to copy a set of files from a directory on a remote server to another directory on the same or a different remote server. ftp and scp don't work, and we don't have the option of sshexec (security issues, supposedly). ftp and scp only copy from

Re: regexp question

2005-01-30 Thread Gilbert Rebhan
Hi, Nat i considered concat ... already, but i felt like there would be a more elegant and shorter solution with regular expressions. I'm sure there's one, but i'm no expert for regexp. Gilbert Why not use concat with a filterchain/headfilter? Basically you read (with headfilter lines=25) the first

Re: Ant task scp or sftp

2005-01-30 Thread Rhino
- Original Message - From: "Nicolas Vervelle" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Sunday, January 30, 2005 8:42 AM Subject: Re: Ant task scp or sftp > > - Original Message - > From: "Rhino" <[EMAIL PROTECTED]> > > Have you tried using the sshexec task instead of scp

Re: regexp question

2005-01-30 Thread Nat Gross
Rebhan, Gilbert wrote: Hi, scenario = a txtfile where i have to put a value in. The line where that value should go is always line number 26 of that file. line number 26 is always blank and should contain the value after transformation. I've tried with :

Re: Echo: How to include a \t.

2005-01-30 Thread Nat Gross
[EMAIL PROTECTED] wrote: From: Nat Gross [mailto:[EMAIL PROTECTED] Matt Benson wrote: --- Nat Gross <[EMAIL PROTECTED]> wrote: Hi; How can I embed a \t within an echo string? I tried to console and file, with and without message attribute, to no avail. I believe this is an XML

Re: Ant task scp or sftp

2005-01-30 Thread Nicolas Vervelle
- Original Message - From: "Rhino" <[EMAIL PROTECTED]> > Have you tried using the sshexec task instead of scp? I've never tried > putting a 'copy' (or 'cp') in the command parameter but I assume it will > work. Then perhaps, you can copy only the desired files to the other > machine. AFA

Re: Ant task scp or sftp

2005-01-30 Thread Rhino
- Original Message - From: "Nicolas Vervelle" <[EMAIL PROTECTED]> To: Sent: Sunday, January 30, 2005 7:55 AM Subject: Ant task scp or sftp > Hello, > > I need to upload files to a server that accepts only secured connections > (scp, sftp). > > I'm currently using the scp ant task to do

Ant task scp or sftp

2005-01-30 Thread Nicolas Vervelle
Hello, I need to upload files to a server that accepts only secured connections (scp, sftp). I'm currently using the scp ant task to do the job, but this task lacks the ability to upload only the newer files so it takes me a lot of time (30 mns now but increasing because more files are added) to

Re: AW: regexp question

2005-01-30 Thread Gilbert Rebhan
Hi, Jan thanks for the task!! Works great, but one thing similar to the echo task = f.e. if i write : .. ..bla .. all the blanks (the '.') are echoed to the file if i write bla it's echoed without blanks. So when using your task i have to write the insert part all on one lin