ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ResourceCollections
Date Mon, 04 Apr 2005 08:28:51 GMT
On Fri, 1 Apr 2005, Dominique Devienne <DDevienne@lgc.com> wrote:
>> > What's difficult already?
>> > It's like a Java import basically.
>> > You declare what you're using. What's wrong with
>> > that? --DD
>> 
>> hmm... using the project attributes:
>> 
>> <project name="foo" default="bar"
>>          xmlns:fs="antlib:org.apache.tools.ant.types.selectors"
>>
> xmlns:rs="antlib:org.apache.tools.ant.types.resources.selectors"
>>          xmlns:ac="antlib:net.sf.antcontrib">
>> 
>> It's just the package names are quite long.  Could we
>> auto-alias the uris so that the user setup might be
>> like below?
>> 
>> <project name="foo" default="bar"
>>          xmlns:fs="ant.fileselectors"
>>          xmlns:rs="ant.resourceselectors">
> 
> I'd prefer at least
> 
> antlib:org.apache.ant.mappers

IIRC we've reserved "ant" as "protocol" as well as "antlib", even
though I can't find any reference to that in out manual.  Using that
we certainly could shorten things:

ant:mappers
ant:fileselectors
ant:resourceselectors
ant:conditions

Stefan

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


Mime
View raw message