Nico,

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.

Thanks,

Julian.
----- Original Message -----
From: "Nico Seessle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
will
> 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: [EMAIL PROTECTED]
> 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 test.properties in my example below, and
as
> you can see, while defining the property deploy prevents the echo from
being
> executed, it doesn't prevent the property file from being loaded, which is
> somewhat counter-intuitive. Is this expected/required behaviour?
>
>
>

Reply via email to