ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Cody Johnston <paul.c...@lucidainc.com>
Subject Re: task for full text search
Date Wed, 28 Nov 2001 23:01:18 GMT
On Wednesday 28 November 2001 02:48 pm, you wrote:
> hi,
>
> i'd like to have my build failed, whenever a special string (e.g.
> '@inheritDoc') appears in one of the files generated (e.g. the javadoc html
> files) during the build process. i had a look on the various tasks
> (<replace>, <filter> ...), which sound like they can help, but can't find
a
> solution, which would not require the <exec> task.
>
>
> any ideas?

Not that I know of.  You could write your own task that searches for a 
particular regular expression (using the apache oro package bundled with ant) 
and then fails (or whatever) upon match.

Paul

>
> thanks,
>
> mirko

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