ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: error running <exec> task
Date Wed, 06 Feb 2002 03:52:52 GMT
> From: Diane Holt [mailto:holtdl@yahoo.com]
>
> Get rid of the "*" -- you don't need it, since 'ls -l' will list
> everything anyway, and including an asterisk in the command line doesn't
> work unless you exec 'sh' instead of 'ls'.
>

Just to expand a bit on Diane's explanation. On Unix systems, the shell is
responsible for wildcard expansion, not the individual commands. when you
pass "*" in Ant, the shell is not involved and the command receives the "*"
char directly rather than a list of files.

Conor


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message