ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject RE: DynamicConfigurator and friends
Date Thu, 13 Jan 2005 23:30:50 GMT
But if the nested "text" is actually XML, isn't that
exactly what DynamicElement(NS) handles?

-Matt

--- Dominique Devienne <DDevienne@lgc.com> wrote:

> > From: Brian Topping [mailto:topping@codehaus.org]
> > 
> > I'm trying to use DynamicConfigurator and need a
> bit of clarification.
> > I'd like to make the child text of a Task (defined
> with a taskdef) be
> > usable as a String by the Task.
> > 
> > The issue is that the "arbitrary" text is XML and
> I want to get it as
> a
> > String, not a stream of other child elements.  I
> can't seem to figure
> > out what I need to do to tell Ant to not interpret
> the content.  There
> > seem to be a lot of permutations of using a
> setFoo(Foo) method,
> > setText(String), etc.  I've looked long and hard
> at
> IntrospectionHelper,
> > but there's something I'm missing in there.
> > 
> > Is this possible without wrapping the text in a
> CDATA?  That wouldn't
> > work for this application.
> > 
> > If it's possible, can you please provide any
> interfaces that I need to
> > implement (or *not* implement), element classes,
> etc.
> 
> As far as I know, DynamicConfigurator does not
> support text node.
> 
> Ant exposes nested text thru addText(), but that's a
> special rule.
> 
> I could be wrong though... --DD
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message