ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: error running <exec> task
Date Wed, 06 Feb 2002 03:52:52 GMT
> From: Diane Holt []
> 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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message