|
Hi there, if I do the following : <property
name="modifications" value=""/> <xmlpeek
file="albwir.basis.modifications.xml" xpath="/vssdiff/item[1]/@name" property="modifications" failonerror="false"/> <echo
message="${modifications}"/> <if
test="${string::get-length('${modifications}') > 1}"> <echo
message="Doh! Not empty that string is! The force you must use."/> </if> <property
name="modifications" value=""/> <echo
message="Now empty modifications is!"/> <echo
message="${modifications}"/> <if
test="${string::get-length('${modifications}') > 1}"> <echo
message="${string::get-length('${modifications}')}"/> <echo
message="That is modifications : ${modifications}"/> </if> Then, in the second <if>,
string::get-length returns the same like before. But ${modifications} HAS
changed. Am I doing something wrong here or
is this a bug? I’m using nant 0.85 nightly 2004-07-22 Cheers Florian Mit freundlichen Gr��en Florian
Benischke Softwareentwickler Technical Applications ______________________________________ Albat + Wirsam
Software-Vertriebs AG Konrad-Adenauer-Str.
15 D-35440 Linden Tel.: +49 (0)
6403/970 - 0 http://www.a-w.de |
- Re: [Nant-users] string::get-length problem Florian Benischke
- Re: [Nant-users] string::get-length problem Ian MacLean
