ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: wild-card expansion in <exec> task
Date Fri, 02 Aug 2002 06:52:20 GMT
--- Zhendi Su <Zhendi.Su@oracle.com> wrote:
> I need to expand the wild-card in <exec> task on UNIX.  I understand
> that this can not be done directly because the shell and not ant is
> responsible for expanding the wild-card.  I wonder if there is a
> workaround.  Any help is appreciated!

Just exec the shell instead -- eg:
  <target name="run">
    <exec executable="sh">
      <arg line='-c "ls *.txt"'/>
    </exec>
  </target>

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
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