Can you execute the script successfully via ssh... ssh [EMAIL PROTECTED] 'yourscript.sh'
if that does not work, try sourcing your .profile before executing the script... ssh [EMAIL PROTECTED] '. ~/.profile ; yourscript.sh' If that works, modify your ant build file. -Rob Anderson > -----Original Message----- > From: David Katz [mailto:[EMAIL PROTECTED] > Sent: Friday, December 03, 2004 11:15 AM > To: Ant Users List > Subject: sshexec and shell scripts > > > I am executing a shell script using the sshexec task in order > to compile > some Oracle libraries, forms and menus. When I invoke the shell script > from the command line it works perfectly. When I invoke the > script from > sshexec, numerous compilation errors occur. The compilation errors > result from some of the libraries not compiling properly due to the > inability of the scripts to locate one or more object > libraries. I have > included path and other environmental settings in the shell > script to no > avail. > > > > Any insight is greatly appreciated. > > > > Thanks.... > > > > - David > > > > David Katz > > QA Manager > > Applimation Inc. > > 242 West 36th Street, 3rd Floor > > New York, New York 10018 > > Phone: (212) 500-1321 > > Fax: (212) 560-7880 > > Email: [EMAIL PROTECTED] > > Web; http://www.applimation.com > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]