|
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----- 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 |
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
