ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: dynamic properties
Date Tue, 21 May 2002 19:42:13 GMT
I don't know, you tell me ;-)

This ANT idiom of loading platform-specific properties is common enough that
a little build-in support for it would be nice... Erik and I both posted it
at the same time, so it *has* to be common enough!

All that would be needed in fact is:

<property file="build-win32.properties"
          os="Windows NT, Windows 2000" />

<property file="build-unix.properties"
          os="unix1, unix2, whatever" />

but I know, I know <property> is already *so* overloaded. The construct
above would nonetheless support this idiom *so* conveniently. --DD

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Tuesday, May 21, 2002 2:33 PM
To: ant-user@jakarta.apache.org
Subject: Re: dynamic properties

On Tue, 21 May 2002, Dominique Devienne <DDevienne@lgc.com> wrote:

> It would be nice to be able to access an os.family property direclty
> instead of having to do multiple <condition>s though...

What would it's value be for Windows 95 (windows, dos, win9x)?  For
MacOS X (mac, unix)?

Stefan

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

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


Mime
View raw message