[Webtest] Dynamic property resolution with Ant 1.8 and later
Stanislaw Osinski
Stanislaw Osinski <stanislaw.osinski@carrotsearch.com>
Mon, 16 Aug 2010 10:27:19 +0200
--0016364ed7f2d24b92048dec99de
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I've been heavily using Canoo Webtest on quite a few projects and it's been
nothing short of awesome.
Recently though, when I upgraded to Ant to version 1.8.0, I noticed that
dynamic property resolution doesn't seem to work any more.
When the following simple sequence:
<storeProperty name="id" value="a" propertyType="dynamic" />
<storeProperty name="idx" value="#{id}x" propertyType="dynamic" />
is run using Ant 1.7.1, the 'idx' property correctly resolves the reference
to the 'id' property and gets a value of 'ax'.
However, when run on Ant 1.8.0 or 1.8.1, the resolution does not seem to
work at all, leaving 'idx' value equal to '#{id}x'. I also noticed that when
I set eval="true", dynamic properties do get resolved, but I'm working with
text-based values, so numeric evaluation should not be applied.
Am I missing something obvious here, or it is a regression bug?
Thanks and keep up the good work!
Staszek
--
Stanislaw Osinski, stanislaw.osinski@carrotsearch.com
http://carrotsearch.com
--0016364ed7f2d24b92048dec99de
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,<div><br></div><div>I've been heavily using Canoo Webtest on quit=
e a few projects and it's been nothing short of awesome.</div><div><br>=
</div><div>Recently though, when I upgraded to Ant to version 1.8.0, I noti=
ced that dynamic property resolution doesn't seem to work any more.</di=
v>
<div><br></div><div>When the following simple sequence:</div><div><br></div=
><div><div>=A0=A0 =A0 =A0<storeProperty name=3D"id" value=3D&q=
uot;a" propertyType=3D"dynamic" /></div><div>=A0=A0 =A0 =
=A0<storeProperty name=3D"idx" value=3D"#{id}x" prop=
ertyType=3D"dynamic" /></div>
</div><div><br></div><div>is run using Ant 1.7.1, the 'idx' propert=
y correctly resolves the reference to the 'id' property and gets a =
value of 'ax'.=A0</div><div><br></div><div>However, when run on Ant=
1.8.0 or 1.8.1, the resolution does not seem to work at all, leaving '=
idx' value equal to '#{id}x'. I also noticed that when I set ev=
al=3D"true", dynamic properties do get resolved, but I'm work=
ing with text-based values, so numeric evaluation should not be applied.</d=
iv>
<div><br></div><div>Am I missing something obvious here, or it is a regress=
ion bug?</div><div><br></div><div>Thanks and keep up the good work!</div><d=
iv><br></div><div>Staszek</div><div><br></div><div>--<br><div>Stanislaw Osi=
nski, <a href=3D"mailto:stanislaw.osinski@carrotsearch.com">stanislaw.osins=
ki@carrotsearch.com</a><br>
<a href=3D"http://carrotsearch.com">http://carrotsearch.com</a><br>
</div></div>
--0016364ed7f2d24b92048dec99de--