ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Detecting Tomcat 5
Date Wed, 28 Apr 2004 05:55:56 GMT
On Tue, 27 Apr 2004, Matt Raible <> wrote:

> I believe the <available> task will help, but I'm unsure of how to
> to do the "if" logic with this property.

<available> is a task and a condition (if you leave off the property
attribute) at the same time, so you can say

  <available classname="org.apache.catalina.ant.SessionsTask">

If you want to use it as a task, you can use the <isset> condition to
check for the presence of the property <available> was supposed to



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message