ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject delete task shouldn't fail but it does
Date Tue, 08 Jan 2002 11:50:39 GMT

I have a build script containing a delete task as follows:

        <delete includeEmptyDirs="true" >
            <fileset dir="jsp" />

The intention is to delete the jsp directory in ${webinf}.  If jsp is there it gets deleted.
Fine.  But if it is not already there the build fails
saying "blah\blah\jsp not found".

It seems to me that the intention is to have the directory not exist after the operation.
So if it there then delete it, but if it is already not
there, job done, no error.

Should I be using a different syntax or is this task specified wrongly.


Rob Worth

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

View raw message