You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Shackelford, John-Mason" <Sh...@ncs.com> on 2002/08/15 23:13:44 UTC
EnumeratedAttribute
Has anyone ever subclassed EnumeratedAttribute such that allowed elements
are determined at runtime on the basis of an attribute specified in a parent
tag? This seems tricky as Ant handles the instantiation of
EnumeratedAttribute subclasses.
John-Mason Shackelford
Software Developer
NCS Pearson - Measurement Services
2510 North Dodge St.
Iowa City, IA 52245
319-354-9200x6214
shacjo@ncs.com
****************************************************************************
This email may contain confidential material.
If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: EnumeratedAttribute
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
I'm pretty sure this is not possible.
But, have a look at the DynamicConfigurator interface (introduced in Ant
1.5). You'll be able to do your dynamic stuff using it.
Erik
Shackelford, John-Mason wrote:
> Has anyone ever subclassed EnumeratedAttribute such that allowed elements
> are determined at runtime on the basis of an attribute specified in a parent
> tag? This seems tricky as Ant handles the instantiation of
> EnumeratedAttribute subclasses.
>
>
> John-Mason Shackelford
>
> Software Developer
> NCS Pearson - Measurement Services
> 2510 North Dodge St.
> Iowa City, IA 52245
> 319-354-9200x6214
> shacjo@ncs.com
>
> ****************************************************************************
> This email may contain confidential material.
> If you were not an intended recipient,
> Please notify the sender and delete all copies.
> We may monitor email to and from our network.
> ****************************************************************************
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>