ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wannheden, Knut" <knut.wannhe...@paranor.ch>
Subject RE: How do I create ant task elements nested two or more deep?
Date Thu, 22 Aug 2002 07:00:52 GMT
> -----Original Message-----
> From: Steve Loughran [mailto:steve_l@iseran.com]
> Sent: Mittwoch, 21. August 2002 17:40
> To: Ant Developers List
> Subject: Re: How do I create ant task elements nested two or 
> more deep?
> 
> 
> 
> ----- Original Message -----
> From: "Wannheden, Knut" <knut.wannheden@paranor.ch>
> To: "'Ant Developers List'" <ant-dev@jakarta.apache.org>
> Sent: Wednesday, August 21, 2002 01:25
> Subject: RE: How do I create ant task elements nested two or 
> more deep?
> 
> 
> > This new DynamicConfigurator indeed looks interesting.  If 
> I understand it
> > correctly I can now also have attribute names with dashes 
> and colons in
> it.
> > So the following example which is impossible with the old 
> reflection style
> > is now possible with a DynamicConfigurator:
> >
> > <taskdef name="foo:bar" classname="foo.Bar"/>
> > <foo:bar foo:baz-attribute="ok" xmlns:foo="urn:foo-names"/>
> >
> > Of course this example would look like it uses XML 
> namespaces but from
> Ant's
> > viewpoint it really doesn't matter.
> 
> It may matter in future. I would not use ': ' unless you like 
> looking for
> trouble.
> 

Or unless I'm concerned about the future and already want to mimic
namespaces...  It's just the <taskdef> that's a little bit ugly then.

--
knut

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message