ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wim Bervoets <wim.bervo...@iconmedialab.com>
Subject FW: properties that are not set
Date Thu, 28 Sep 2000 11:11:36 GMT


-----Original Message-----
From: Wim Bervoets [mailto:wim.bervoets@iconmedialab.com]
Sent: Tuesday, September 26, 2000 12:46 PM
To: ant-user@jakarta.apache.org
Subject: properties that are not set


Hello,

I read properties in from a file. I want to know how I can test if a
property has been set/hasn't been set.
Eg I have:

1=Wim
2=Tom
3=Stefan

So I use {$1}, {$2}, {$3} and create a directory with that name each time.
Now {$4} is not set so I would like to be able to stop creating directories
then (and stop checking if {$5}, {$6},... has been set)

Is this possible ?

Wim

----------------------------------------------------------------------------
------------
Wim Bervoets 
Internet Applications Developper @ Icon Medialab Brussels

wim.bervoets@iconmedialab.com
http://www.iconmedialab.com

Wim's BIOS Page
http://www.ping.be/bios

Freelancer for Computer Magazine
http://www.compmag.com
----------------------------------------------------------------------------
------------

Mime
View raw message