Hi Greg,

before you roll your own grep task =

there's already a grep task in the Antelope Package.

see =

http://antelope.tigris.org/nonav/docs/manual/bk03ch22.html

I've already used it to parse stuff, works fine.

btw =

It's a bit confusing, that this task isn't part of antcontrib,
as it was planned to merge the Antelope tasks into antcontrib.

Also some tasks/conditions that are not mentioned in the
antcontrib manual are contained in antcontrib, if you look
into the src distribution.

There are several tasks of Antelope f.e. <unset>, that are (yet ?!) not 
merged into antcontrib.

So i use both > antcontrib 1.0b2 and Antelope 3.2.10

Regards, Gilbert
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg
Akins
Sent: Wednesday, March 01, 2006 10:24 PM
To: [email protected]
Subject: Grep?

This seems like it shouldn't be a big deal, but I wasn't able to find
anything after a couple Google searches.

Running several ant build files through a master file (CruiseControl),
I'd like to grep the output of a file to see if any errors occurred
(can't through an Ant failure because the file can contain some
errors)

I'm using <exec/> to run sql*plus... The results get dumped to ant's
logging, and I want to search for particular ora- errors?

Any tips that don't involve me writing my own Ant task?

Any help is really appreciated.

Greg Akins

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


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

Reply via email to