ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian M. Savage" <>
Subject Re: conditional loading of properties files
Date Fri, 22 Sep 2000 09:21:54 GMT

Diane Holt pointed out to me via e-mail that my example works with more
recent versions of ant than I have (-version wouldn't be useful because I
recompiled this version today, but it represents the tree at an earlier
stage). I tested my example with that version and see that everything works
the way I would hope.

Unfortunately I can't just move over to the new version right now, but at
least I know it will work when I do.


----- Original Message -----
From: "Nico Seessle" <>
To: <>
Sent: Friday, September 22, 2000 4:46 PM
Subject: Re: conditional loading of properties files

> Hi Julian,
> Your example works for me as you would like it to work :-)
> Can you tell us what Version of Ant (ant -version) are you using? This
> not work with older versions (works since 14./15. Sep.)
> Try to run ant -verbose - it should tell you what is happening (and when).
> Nico
> ----- Original Message -----
> From: Julian M. Savage
> To:
> Sent: Friday, September 22, 2000 5:08 AM
> Subject: conditional loading of properties files
> I'm wondering if there is any way to conditionally load a properties file.
> I have two files, build.xml and in my example below, and
> you can see, while defining the property deploy prevents the echo from
> executed, it doesn't prevent the property file from being loaded, which is
> somewhat counter-intuitive. Is this expected/required behaviour?

View raw message