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 Sun, 11 Nov 2001 01:09:40 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 sbailliez@apache.org  2001-11-10 17:09 -------
I can't find a real use for a generic <grep> task in Ant and even if it is the 
case you can run grep via exec...

To solve your problem you can use a specific listener that will report specific 
events...or you can simply use the XmlLogger and run ant as follows:

ant -listener org.apache.ant.XmlLogger -DXmlLogger.file=mylog.xml ....

You can then use a stylesheet to process your xml via the <style> task and mail 
the HTML result via <mail>. If you want a default stylesheet look into Ant 
sources for the file located at src/etc/log.xml

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