You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Shackelford, John-Mason" <Sh...@ncs.com> on 2002/08/21 22:18:25 UTC

DynamicConfigurator passing fully qualified class name

Erik,

I just thought of a hack that might be handy. tell me what you think:

Ant calls createDynamicElement(String) and passes in the name of an element.
Why not pass in the fully qualified classname associated with the tag via
<taskdef> or <typedef>? Or is there another way I can get this info from the
Project and the String?


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: DynamicConfigurator passing fully qualified class name

Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
I'm confused by what you are asking here.  FQN of what exactly?  The 
class that is implementing the DynamicConfigurator interface (you have 
that already)?



Shackelford, John-Mason wrote:
> Erik,
> 
> I just thought of a hack that might be handy. tell me what you think:
> 
> Ant calls createDynamicElement(String) and passes in the name of an element.
> Why not pass in the fully qualified classname associated with the tag via
> <taskdef> or <typedef>? Or is there another way I can get this info from the
> Project and the String?
> 
> 
> 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>