ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbenn...@ca.ibm.com
Subject exec on AIX using Ant1.3
Date Tue, 10 Apr 2001 17:49:58 GMT

Hello,

I'm having trouble using <exec> on AIX in Ant 1.3.
For example,this buildfile works fine in Ant1.2, but does not in Ant1.3:

<project name="exec_test" default="exectest">
     <target name="exectest">
          <exec executable="ls" os="AIX" dir="/build/temp" >
               <arg value="-al" />
          </exec>
     </target>
</project>

Using Ant1.2, I get the contents of the "/build/temp" directory listed in
my logfile.

Using Ant1.3, I get this result:

exectest:
     [exec] Myos = AIX
     [exec] ls -al
     [exec] Warning: UNIXProcess.forkAndExec native error: A file or
directory in the path name does not exist.
     [exec] Result: 255

Any ideas? I've checked the what's new file for Ant1.3, and I didn't find
anything related to exec.

Thanks in advance,
David


Mime
View raw message