ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Persistent global properties - are they going to be avail abl e?
Date Thu, 18 Apr 2002 14:09:36 GMT
My question would then be:

Why do a have a factory method that instantiates a new instance of FileUtils
every time rather than a singleton, and an instance() method?

Are you expecting FileUtils to be instantiated for different OS's
simultaneously?

--DD

-----Original Message-----
From: Erik Hatcher [mailto:jakarta-ant@ehatchersolutions.com] 
Sent: Thursday, April 18, 2002 7:37 AM
To: Ant Developers List
Subject: Re: Persistent global properties - are they going to be avail able?

Good answer!  Thanks for clarifying.

    Erik


----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, April 18, 2002 2:54 AM
Subject: Re: Persistent global properties - are they going to be avail able?


> On Wed, 17 Apr 2002, Erik Hatcher <jakarta-ant@ehatchersolutions.com>
> wrote:
>
> > Speaking of which, why aren't the methods there static?  Why did we
> > make it so you have to have an instance of FileUtils?
>
> because we once thought that we'd need os specific subclasses - one
> that is aware of resource forks in copyFile for Macs for example.
> This need may still come up ...
>
> Stefan
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


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

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