ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Mancarella" <mancare...@opoipi.bancaintesa.it>
Subject Available not working
Date Fri, 22 Jun 2001 10:07:52 GMT
I'm trying to use the "available" task, but parsing
fails with the following message:

Unexpected element "available".

I've noticed the no property was defined in
defaults.properties for this task so I added the
following line:

available=org.apache.tools.ant.taskdefs.Available

but still doesn't work.

I'm using Ant 1.3. Here's my example:

<project name="myProject" default="compile" basedir=".">
    ...
    <available property="log.present" file="${log.file}" />
    ...
</project>

Where am I wrong?


Mime
View raw message