ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <j...@socialchange.net.au>
Subject Re: [property] Override ignored for build.compiler - why?
Date Wed, 11 Apr 2001 04:03:37 GMT
On Tue, Apr 10, 2001 at 04:49:15PM +0200, Markus Holmberg wrote:
> Why are properties not allowed to be overridden?
> 
> (This breaks the functionality of including a local properties file
> which contains local customizations to default values)

If you have most-specific properties file first, then you achieve the same
thing:

    <property file="./build.properties" />
    <property file="${user.home}/build.properties" />

Any properties not set in ./build.properties will obtain values from
~/build.properties.

--Jeff

> 
>  [property] Override ignored for build.compiler
> 
> Regards, Markus.
> 
> -- 
> 
> Markus Holmberg         |       Give me Unix or give me a typewriter.
> markush@acc.umu.se      |       http://www.freebsd.org/

Mime
View raw message