Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&h systems
/1/05, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: > You can also set knownhosts=/path/to/your/knownhosts/file. > > -Rob A > > > -----Original Message- > > From: j&h systems [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 01, 2005 10:32

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&amp;h systems
The other thing is, since jsch is frequently used. Is it possible to include it by default into the ant distribution? Any licensing issues? Jian On 6/1/05, j&h systems <[EMAIL PROTECTED]> wrote: > Hi, > > Try setting trust="true" like the following: > > >

Re: Problem with sshexec task: reject HostKey

2005-06-01 Thread j&amp;h systems
Hi, Try setting trust="true" like the following: I think if you don't set trust to true, the host key (which is on the server) will be rejected by your ant ssh task. Cheers, Jian On 7/2/05, Bill Winspur <[EMAIL PROTECTED]> wrote: > I am using the sshexec task in the following build.xml, und

Re: Delete dir if empty

2005-06-01 Thread j&amp;h systems
What about include "includeemptydirs" in your delete task, like the following example? Jian On 6/1/05, Dick, Brian E. <[EMAIL PROTECTED]> wrote: > How can I delete a directory only when it is empty? I have tried many > combinations of include/exclude with the delete task, but cannot find > any

Re: recursively delete .svn directories

2005-05-28 Thread j&amp;h systems
Thanks. There are some more to what you mentioned. In case anyone stumble on this problem again, here is the working version: Cheers, Jian On 5/28/05, Dominique Devienne <[EMAIL PROTECTED]> wrote: > Look up the manual for defaultExcl

recursively delete .svn directories

2005-05-28 Thread j&amp;h systems
Hi, Does anyone know how to recursively delete a given sub-directory? I want to delete the .svn sub-directories, and I have this ant build file: But it does