ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Grep?
Date Thu, 02 Mar 2006 08:32:32 GMT

Hi Greg,

before you roll your own grep task =

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

see =

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: [] On Behalf Of Greg
Sent: Wednesday, March 01, 2006 10:24 PM
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

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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message