> -----Original Message-----
> From: Matt Benson [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 26 September 2006 4:17 AM
> To: Ant Developers List
> Subject: Re: Resource.getURL()
> 
> --- Dominique Devienne <[EMAIL PROTECTED]> wrote:
> 
> > > A URLResource could then be created using:
> > > new URLResource( name, uri,
> > > handlerClassResourceName );
> > >
> > > The upside of this approach is the elimination of
> > > the entire subject of system classloader mutation,
> > > and a framework for binding custom handlers
> > > (which resolves some of the earlier issues raised
> > > in this thread).
> > 
> > I have no issue whatsoever with this Steve :-)  --DD
> 
> The problem with this approach--specifying the handler 
> classname to the URLResource constructor--is that it fails to 
> address the primary requirement that Ant have a predictable 
> way to resolve a string representation of a Resource to a 
> properly configured Resource implementation.  :(

Matt:

Can you expand on what you mean by "a string representation of a Resource"?
Are your implying something equivalent to the way a URL can be externalized
to a string (which could be done if all resources are associated with
dedicated url handlers).  Some concrete usage examples would be handy.

/Steve.

--------------------------
Stephen McConnell
mailto:[EMAIL PROTECTED]
http://www.dpml.net
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to