----- Original Message -----
From: "Elizabeth Cooper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 25, 2001 8:52 PM
Subject: A little problem using apply with grep


> I can successfully use apply with grep (under Windows)
>
> <apply executable="grep" output="filelist.txt">
>              <arg value="-l"/>
>              <arg value="-s"/>
>              <arg value="Base-Package"/>
>              <fileset dir="${src}" >
>                  <include name="pkg/**/*.java"/>
>                  <excludesfile name="files.exclude.txt" />
>              </fileset>
> </apply>

tried adding parallel=true ? then only one grep runs.

Also, ant -quiet is less chatty.

> Note: What would be really useful here is a FileSet defined by a token
> string in a file (much like the token used for Replace) to define a set of
> includesfile used for a build, and/or a set of excludesfile. This is
really
> what I am trying to accomplish by using grep to get a list of files for
the
> compilation.

file it as a feature request then.

-steve


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to