In ant you can use the "env" properties, in combination with the ant-contrib 
extension that would allow you to create if statements.

Met vriendelijke groet,
Rémon van Gijn



-----Original Message-----
From: Nagender Malik [mailto:[EMAIL PROTECTED] 
Sent: woensdag 12 juli 2006 12:05
To: Ant Group
Subject: how to conditionally execute a task

Hi All,

i want to execute  a task conditionally based on operating system property. how 
can we do that.

please suggest....

thanks,
Nagender Malik   

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to