RE: scp "auth cancel" error

2006-04-07 Thread Anderson, Rob (Global Trade)
If you are using openssh on the server, run 'man sshd' and read the section titled "AUTHORIZED_KEYS_FILE_FORMAT". Or check http://www.openssh.com/, there is a link to manuals on the left side. Bassically you need to put your public key from host A in the file ~/.ssh/authorized_keys on host B, wher

Re: Copy paradox - permissions and filters

2006-04-07 Thread Jeffrey E Care
The core problem is that there is no 100% pure Java way to get or set file permissions. See JSR 203 (http://www.jcp.org/en/jsr/detail?id=203) Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere

RE: Copy paradox - permissions and filters

2006-04-07 Thread Stephen McConnell
> -Original Message- > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > That's cheesy and I don't want to do it. Write your own task. public class KludgeTask() { public void execute() { // grap the files // record permissions // execu

Copy paradox - permissions and filters

2006-04-07 Thread Brown, Carlton
All: I have found a dilemma on what ought to be a simple task. I need to copy some files from one location to another and run them through a filter. OK, great. Ant has filters I can use. Wait... these are scripts. They need to be executable. Ant's copy task doesn't preserve file permi

RE: Looping through a file contents and dynamically add for each line in the file to task

2006-04-07 Thread Guttula, Mohan
Thank you for your Response. Part of my requirement is to call the "SQL" task only once and add as many "" elements as the number of lines in "sample.sql". Note: "Sample.sql" contains other sql file names as mentioned in my first e-mail. Mohan -Original Message- From: [EMAIL PROTECTE

RE: scp "auth cancel" error

2006-04-07 Thread Brown, Carlton
> -Original Message- > From: Robert Clark [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 05, 2006 5:41 PM > To: user@ant.apache.org > Cc: Brown, Carlton > Subject: Re: scp "auth cancel" error > > On Wednesday April 5, 2006 17:23, "Brown, Carlton" > <[EMAIL PROTECTED]> wrote: > > Can an

AW: Looping through a file contents and dynamically add for each line in the file to task

2006-04-07 Thread Jan.Materne
1. Create a child project - input: the names of the sql files - create a project.xml file containing just that target 2. use to call that (new) project Jan >-Ursprüngliche Nachricht- >Von: Guttula, Mohan [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 6. April 2006 22:05 >An: user

AW: Dynamically increase the number of arguments to EXEC task based on the number and name of the file(s) in a directory.

2006-04-07 Thread Jan.Materne
or something like that... Jan >-Ursprüngliche Nachricht- >Von: Heikki Qvist [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 6. April 2006 21:00 >An: Ant Users List >Betreff: Re: Dynamically increase the number of arguments to >EXEC task based on the number and name of the