ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [PATCH] Copy task recognizes URLs as file attributes
Date Wed, 28 Nov 2001 12:21:03 GMT
On Wed, 28 Nov 2001 23:16, Jose Alberto Fernandez wrote:
> From: "Peter Donald" <peter@apache.org>
>
> > On Wed, 28 Nov 2001 22:34, Jose Alberto Fernandez wrote:
> > > To me the whole point URL is that it provide the url parsing from a
> > > string all just done. So we can do:
> > >
> > >     void setUrl(URL url) {
> > >         ....
> > >     }
> > >
> > > and introspection will do all the work for us. Whether we use
> > > url.openStream() or we pass this object to our own code, it is up to
> > > us.
> >
> > I would still prefer to create ow\ur own object so we have full control
> > of it's behaviour.
>
> I have no problem with that. As long as we provide an object that
> introspection can use I have no problem. My point on this is that I would
> like to have all the parsing of strings centralized. I have seen quite a
> few places where we still use attributes as strings and then do all kinds
> of string manipulation making all kinds of unreliable assumptions that only
> consider UNIX and Windows.
>
> We need to centralize this stuff to be able to do a better porting job.

+1

-- 
Cheers,

Pete

--------------------------------
 These aren't the droids you're 
 looking for. Move along. 
--------------------------------

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


Mime
View raw message