ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron J. Green, Jr." <>
Subject Help with exec
Date Tue, 14 Nov 2000 00:21:27 GMT

I just started using ANT this week and am rapidly growing to rely upon it.
However, I'm having trouble with the "exec" task. On my Windows 2000 machine
when I add the os="windows" attribute, it fails to execute. But when I echo
the "os" property it prints "windows". Example below.

  <target name="test">
    <echo message="${os}" />
    <exec executable="dir" os="windows"/>

Thanks in advance for any assistance.


View raw message