ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3542] - <grep> command
Date Wed, 24 Jul 2002 19:32:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3542>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3542

<grep> command





------- Additional Comments From umagesh@apache.org  2002-07-24 19:32 -------
The equivalent for

find . -name "*.bat" -print | grep -v "ejb/" 

is

<fileset dir="."/>
  <include name="**/*.bat" />
  <exclude name="**/*ejb/**/*" />
</fileset>

In addition to this 'old' approach, Ant 1.5 has Selectors, which can be 
extended, if necessary, to suit your needs.

However, wrt the ">> .tarfiles" part, I need to understand why you want to do 
that.

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


Mime
View raw message