ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: XDocs Proposal
Date Wed, 27 Feb 2002 15:33:50 GMT
On Wed, 27 Feb 2002, Curt Arnold <> wrote:

> All I've seen in the Ant code base for "enumerations" are set
> methods with string arguments.

see and the various
setters in FixCrLf for usage examples.

> Is there some support for the type-safe enum construct in Ant?  For
> example, could you do something like:

Not exactly that way, but the EnumeratedAttribute mechanism gets close
as it catches errors while setting the attributes.

> The most general would be a @minOccurs and @maxOccurs tag,

For nested elements, I agree.


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

View raw message