ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject <if> <isset> with for loop ?
Date Wed, 31 Aug 2005 09:25:48 GMT

Hi,

i want to run an antcontrib for loop only,
if a property has been set.

So i wrote =

<if>
<isset property="${deldirs.@{Lum}}" />
<then>
       <for list="${deldirs.@{Lum}}"  param="deldir">
	<sequential>
	<echo message="Deleting Directory -> @{deldir}" />
	</sequential>
      </for>
</then>
</if>

but that didn't work.

How to check if a property has been set in
conjunction with a foor loop ?

Regards, Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message