ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: How to execute task just if a propertie is set
Date Thu, 16 May 2002 14:12:11 GMT
Check out the if/unless attributes of <target>. Note that dependent targets
(listed in the depends attribute) are executed before the if/unless
condition are evaluated. --DD
 
-----Original Message-----
From: Emerson Cargnin - MSA [mailto:emersonc@sicredi.com.br] 
Sent: Thursday, May 16, 2002 9:04 AM
To: ant-user@jakarta.apache.org
Subject: How to execute task just if a propertie is set
 
How do I execute an ant task conditionally? I want to reload a tomcat
context just in case tomcat is started. I was thinking in setting a
propertie with condition and http (to make sure tomcat is on). Just need to
know how to execute the tomcat reload task if this propertie is set.
 
Regards
 
Emerson

Mime
View raw message