ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shailesh Sharma <shailesh_s...@yahoo.com>
Subject RE: if/else in ANT ???
Date Tue, 30 Sep 2003 21:41:27 GMT
 
how could i check if the property is been set or not ???
 


Vikas Phonsa <VPhonsa@suz.com> wrote:
I'm not sure what u mean by null. You could use a target with "if" or
"unless" attributes for this to check if a property has been set or not.

If this doesn't work for you then see the tasks in ant-contrib .

vikas


-----Original Message-----
From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com] 
Sent: Tuesday, September 30, 2003 2:15 PM
To: Ant Users List
Subject: if/else in ANT ???


How does this work out in ANT:













if(any of the value is NOT null)

// do something ...

}


---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

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


---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message