ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Tyler" <gordon.ty...@sitraka.com>
Subject Re: Platform-specific properties
Date Thu, 04 Apr 2002 16:01:12 GMT
> What is your reaction to handling platform-specific properties as shown
below?  Is there a better way?

That's pretty much how we did it here. An alternative is to have
<platform>.properties files and load them using:

<property file="${os.name}.properties"/>

Or something similar, in your initPlatformProperties target. It's not
necessarily any better than what you've done, they're just two valid
approaches, one of which may suit your setup better.

Ciao,
Gordon



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