> Hi guys, it is a while I'm trying to look a way to have an optional
> property in a property file that if set will override a property in
[quoted text clipped - 6 lines]
>
> Any hint? Thanks a lot,
The java.util.Properties class itself has a default property mechanism.
<http://java.sun.com/javase/6/docs/api/java/util/Properties.html>
> A property list can contain another property list as its "defaults";
> this second property list is searched if the property key is not found
> in the original property list.
Javadocs is grand, ain't they?

Signature
Lew
On Nov 28, 7:09 am, "nuthink...@googlemail.com"
<nuthink...@googlemail.com> wrote:
> Hi guys, it is a while I'm trying to look a way to have an optional
> property in a property file that if set will override a property in
[quoted text clipped - 8 lines]
>
> chr
In Ant, properties can be set at most once during any build cycle.
The first attempt to set a property sets it; the remainder are
ignored. So, load your properties file first using <property
file="..." />, then set the property explicitly using <property
name="foo.bar" value="x" />. If the file includes foo.bar, the
default will be suppressed.
nuthinking@googlemail.com - 29 Nov 2007 09:33 GMT
> On Nov 28, 7:09 am, "nuthink...@googlemail.com"
>
[quoted text clipped - 18 lines]
> name="foo.bar" value="x" />. If the file includes foo.bar, the
> default will be suppressed.
Hi Owen, how stupid was I, your solution is definitely the one I
needed, I just had to change the order the property files are loaded.
Best, chr