Re: how to use spawn in linux for exec

2006-05-25 Thread Scot P. Floess
I also don't think you want to use spawn in this instance... I am guessing you want to see the result of the call? If so, ant won't log anything with the spawn attribute set to true. Another thing, I note you are using ls - unfortunately, with no spawn, you will get an error from sh as follo

Re: how to use spawn in linux for exec

2006-05-25 Thread Antoine Levy-Lambert
Hi, to find out which ant you are using, simply type : $ which ant in your console. To use another version of ant, for instance ant1.6.5, supposing you have installed ant1.6.5 under /opt/apache-ant-1.6.5, set the following environment variables : ANT_HOME=/opt/apache-ant-1.6.5 export ANT_HOME