ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: auto download of antlibs
Date Wed, 09 May 2007 08:39:48 GMT
Stefan Bodewig wrote:
> On Mon, 07 May 2007, Steve Loughran <stevel@apache.org> wrote:
> 
>> You'd have to include a version. One thing you could do is
>> lib:xmlns="antlib://org/example/something#2.13" ...but that would
>> place the version into the namespace, which is too early to read
>> in/expand ant properties, and you'd have to update the xmlns
>> declaration everywhere you used it...that's a no-no in a big
>> project.
> 
> True.
> 
> Apart from the idea to use the not-exactly-automatic approach you
> describe (use a typedef instead of a namespace alone) another option
> would be a level of indirection.  Something Xavier suggested last
> week.
> 
> xmlns="antlib:ivy://org.apache.antlibs/antunit#integration" could
> trigger a lookup of an ivy.xml file and we'll use the integration
> configuration of the artifact antunit in the org.apache.antlibs
> organization (making up names here).
> 

oh, so the ivy.xml file (or ivyconf.xml for big-projects), would list 
the mappings. that's a nice idea.

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


Mime
View raw message