8-383-6725, 212-272-6725; cell 917-861-6042
-Original Message-
From: Z W [mailto:[EMAIL PROTECTED]
Sent: Monday, January 28, 2008 11:16 PM
To: Ant Users List
Subject: Re: rexec and setting env variables on remote host
Also within "try" shrell script, I have a nohup command
ie inside try
Hi
In using with with timeout attribute, is there a way I could cause
the shell script to send EOF so that would not
fail ?
C:\start.xml:13: The following error occurred while executing this line:
C:\start.xml:57: Response timed-out waiting for EOF
at org.apache.tools.ant.Proje
Also within "try" shrell script, I have a nohup command
ie inside try.sh. I have
nohup ./start &
where "start" is another shell script
On Jan 28, 2008 8:03 PM, Z W <[EMAIL PROTECTED]> wrote:
> Rob
>
> Appreciate your response there.
> Your approach does allow the env variables read but
> I'm n
Rob
Appreciate your response there.
Your approach does allow the env variables read but
I'm not sure why rexec hangs when it reaches the end of command execution.
Output
[rexec] stty: : Invalid argument
[rexec] /root
[rexec] /mdm /opt
[rexec] Starting prstat.
[rexec
You could also source the .profile in your ant script...
-Rob Anderson
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]
Sent: Monday, January 28, 2008 2:40 AM
To: Ant Users List
Subject: Re: rexec and setting env variables on remote host
Z W wrote:
> Hi
>
>
Steve,
I'm sorry that I need a little more help here.
Could you elaborate on
* I think its an SSH option to turn this back on. Otherwise run bash
-login to run bash as a login
What tasks are you thinking of that I should use for both options ?
Thanks
Z W wrote:
Hi
I tried using rexec task to invoke a shell script.
The output is as follows:
[rexec] /af/gord
[echo]
But when I check the local host of this unix box, the variables are set in
.profile. When echoed, they are displayed.
How do I make sure the shell sets these variables
Hi
I tried using rexec task to invoke a shell script.
The output is as follows:
[rexec] /af/gord
[echo]
But when I check the local host of this unix box, the variables are set in
.profile. When echoed, they are displayed.
How do I make sure the shell sets these variables in Ant script