ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: sshexec and shell scripts
Date Fri, 03 Dec 2004 19:20:50 GMT
Can you execute the script successfully via ssh...

ssh users@host 'yourscript.sh'

if that does not work, try sourcing your .profile before executing the script...

ssh users@host '. ~/.profile ; yourscript.sh'

If that works, modify your ant build file.

-Rob Anderson

> -----Original Message-----
> From: David Katz [mailto:dkatz@applimation.com]
> 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: dkatz@applimation.com
> 
> Web; http://www.applimation.com
> 
>  
> 
>  
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message