sounds like a permissions error when you call build.xml task you'll need to pass your pgp key along or you'll need to authenticate in same way I would look into ssh task for running the task also ssh task for creating the necessary files Anyone else ?? Martin- ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, December 09, 2004 7:02 PM Subject: Re: Sshexec and nohup
> Maybe it's creating it in a different directory. The file should be in > the working directory which may not be the same as the script dir. > Did you try ssh-ing from another box and running it manually? > > Regards, > Nick G > > > > > > "Jacob, Anil - MWT" <[EMAIL PROTECTED]> > 12/09/2004 06:50 PM > Please respond to "Ant Users List" > > To: <[EMAIL PROTECTED]> > cc: > Subject: Sshexec and nohup > > > > We have a script(for example start.sh) which has a nohup ./startxxxx & > in it, therefore it creates a nohup.out file. When I execute the > start.sh on the system it creates the nohup.out file and everything is > fine. > I have an ANT build file on a remote system which uses the sshexec task > to execute the above mentioned script, however I noticed that when I > call the script thru ANT it never creates the nohup.out file, even > through the remote script does go into the background. > > Any idea's? > > Anil > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]