ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris.Cl...@vodafone.nl
Subject RE: RE: Persistent global properties - are they going to be avail able?
Date Wed, 17 Apr 2002 07:04:52 GMT
OK :-)

There is no real difference, you're right.
I was just trying to think up some better way to deal with
environment properties, that's all. The property and propertyfile
tags will do the same job.

Thanks a lot,

Chris.

P.S. I choose the name of the property file based on whether it is
global (build environment), or project-based (in that case I use the
project name). The property is stored in the directory that the VM
parameter 'java.io.tmpdir' contains (the temporary directory used by
Java IO's temp file support).

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Tuesday, April 16, 2002 5:46 PM
To: ant-dev@jakarta.apache.org
Subject: Re: Persistent global properties - are they going to be
available?


On Tue, 16 Apr 2002, Chris Clark <Chris.Clark@vodafone.nl> wrote:

> I have made a couple of tasks that allow you to read/write
> properties to a property file, in a central place, so the properties
> are available between different processes, and also are global.

Sounds like <propertyfile> to write and <property file="..."/> to
read.

Apart from the different names for your tasks and the central property
file (I couldn't see how you chose the name/location of this file),
what is the difference?

Cheers

        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>


Mime
View raw message