Thanks. That's exactly what I wanted. But then I would suggest that
it should be mentioned in the manual, that LoadProperties does not
expand ${...} constructs in the file. The manual said its equivalent to
<property file="..."/> but it's obviously not.

Or is it a bug of LoadProperties?

Kenneth

----- Original Message -----
From: "Dominique Devienne" <[EMAIL PROTECTED]>
To: "'Ant Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 10:53 PM
Subject: RE: ExpandProperties task


> If what you're doing is as simple as:
>
> <loadproperties srcFile="build.properties">
>   <filterchain><expandproperties/></filterchain>
> </loadproperties>
>
> simply replace it with:
>
> <property file="build.properties />
>
> If you're using more filters, then no luck. But it sounds like a bug of
that
> particular filter. I'm just giving you a work-around (if it works). --DD
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to