From: Geoff M. <ge...@is...> - 2002-09-18 16:52:23
|
Hi all. I noticed the other day that in a <switch> task, properties dont get set until you come out. I.e: <switch value="${foo}"> <case value="bar"> <property name="prop1" value="value1"/> <property name="prop2" value="${prop1}"/> </case> </switch> prop2 doesnt get set as you might suspect, because at the time it is executed, prop1 hasn't been set (it only gets set when the case has ended). I'd log this as a bug on the sourceforge site, only I cant seem to atm. Hope you dont mind me posting here instead. Cheers -Geoff |