Looks like it needs the full path to the executable.

Maury


On 08/02/12 13:36, Eric Fetzer wrote:
Sorry, ant version is 1.7.1



On Aug 2, 2012, at 4:32 PM, Eric Fetzer<elstonk...@yahoo.com>  wrote:

I don't get it, I do the following and it crashes:

     <exec executable="umask">
       <arg value="0002"/>
     </exec>

Anyone have a clue why that would be?  I'm on redhat 5.5 (Tikanga).  I can type 
umask 0002 on the command line all day long...  Here's the error:

/app/rosstr/test.xml:5: Execute failed: java.io.IOException: Cannot run program 
"umask": java.io.IOException: error=2, No such file or directory

Thanks,
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org


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

Reply via email to