Re: Gump and deprecation

[email protected] Wed, 1 Jan 2003 16:43:24 +1100
Newsgroups gmane.comp.jakarta.alexandria.devel
Message-ID <OF97A3DE9A.8FEF8F6C-ONCA256CA1.001EE3A2-CA256CA1.001F75E0@multitask.com.au>
> Docs on the subject are at:
> http://jakarta.apache.org/gump/project.html#nag
> 
> But perhaps a hypothetical example might help:
> 
> <nag from="dIon Gillard &lt;[email protected]&gt;"
> to="[email protected]">
> <regexp subject="Build Failure - commons XYZ"/>
> <regexp pattern="/deprecat/" subject="Deprecation warning - commons 
XYZ"/>
> </nag>

So can I only have one nag?

I'd like to have one for failure and one for using deprecated methods.

Since methods are supposed to be deprecated before removal, catching 
deprecation sounds like a good idea.
I'd also like to have a short way of notifying the nag when the build is 
successful, i.e. no deprecation, no compile errors.

It doesn't appear from the docs that there can be more than one <nag> 
element.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au