ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <>
Subject Re: [PATCH] Copy task recognizes URLs as file attributes
Date Wed, 28 Nov 2001 12:16:33 GMT
From: "Peter Donald" <>

> 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.

Jose Alberto

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message