ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: A little problem using apply with grep
Date Mon, 26 Nov 2001 06:58:20 GMT

----- Original Message -----
From: "Elizabeth Cooper" <ecooper@ergotech.com>
To: <ant-user@jakarta.apache.org>
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message