On Fri, 1 Apr 2005, Dominique Devienne <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to