ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Z W" <>
Subject rexec and setting env variables on remote host
Date Sat, 26 Jan 2008 01:16:40 GMT

I tried using rexec task to invoke a shell script.

<rexec userid="${aname}"
           command="cd ${i_dir}; echo $A_HOME $JDK_HOME" />

The output is as follows:
    [rexec] /af/gord

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 using rexec
? source command isn't available on the unix box.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message