I think I misunderstood this particular bug. It appears to be a problem
with $${someprop} versus loading two property files and the first one
containing a ${property} that is set in the second one loaded.
To be explicit, if you have two property files, a.properties and
b.properties, in the first one loaded you have a ${property} that is set
in b.properties, ant leaves it as ${}.
a.properties:
foo=bar
coolprop=${foo}:${from.b.properties}
b.properties:
from.b.properties=awesome
build.xml:
<project default="go">
<target name="go" >
<property file="a.properties" />
<property file="b.properties" />
<echo>This is a problem: ${coolprop}</echo>
</target>
</project>
You'll see this:
This is a problem: bar:${from.b.properties}
-----Original Message-----
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2008 7:51 AM
To: [email protected]
Subject: Re: Trying (and failing) to build the nightly snapshot
On Tue, 29 Jul 2008, EJ Ciramella <[EMAIL PROTECTED]> wrote:
> I also tried to verify that bug 42277 was closed/fixed in the
> nightly builds, but I see it's not.
>
> String resources only have properties single expanded. If you relied
> on <string> resources being expanded more than once, it no longer
> happens. Bugzilla report 42277.
Could you please provide a simple test that fails for you?
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]