ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Antlib autoloading
Date Tue, 13 Sep 2005 13:02:48 GMT
Stefan Bodewig wrote:
> On Mon, 12 Sep 2005, Steve Loughran <stevel@apache.org> wrote:
> 
> 
>>I hadnt thought about autoloading; I am happy with explicit loading
>>of stuff into their own namespaces, but want to make it easier for
>>projects to get access to my definitions (or even importable
>>libraries)
> 
> 
> How do you like this
> 
> xmlns:foo="antlib:file:///some/absolute/file.name"
> xmlns:foo="antlib:file:some/relative/file.name"

yes, both interesting

> xmlns:foo="antlib:http://example.org/2005/yes#I_can_use_a_catalog_resolver"

this scaers me, as people will assume that we are doing a download...

> xmlns:foo="antlib:resource:/org/apache/ant/antunit/antlib.xml"

yes, this I like.

I also like DD's idea of letting me import something on the classpath. 
Something like

<import resource="projects/something/core.xml" classpathref="app.path" />

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


Mime
View raw message