ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: antlib loading in typedef
Date Wed, 31 Aug 2005 13:35:06 GMT
I was thinking of having another attribute (like 
antlib="antlib:org.smartfrog.tools.ant")
to set the uri and resource.

It may be a good idea however to do this by default with just the uri 
attribute - if the user has not
specified the resource/filename.

Peter

Steve Loughran wrote:

>
> Why do you have to repeat the full path to an antlib in <typedef>, 
> when declaring into an antlib url.
>
> surely this should be sufficient
>
>         <typedef
>           uri="antlib:org.smarfrog.tools.ant"
>           classpathref="smartfrog.tasks.classpath"
>           onerror="failall"
>       />
>
> I think if we have special handling of antlib namespaces, typedef 
> ought to adopt that same logic, and get the path to the resource from 
> the URI, if it is an antlib URI
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>
>


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


Mime
View raw message