> I have a build script containing a delete task as follows:
> 
>         <delete includeEmptyDirs="true" >
>             <fileset dir="jsp" />
>         </delete>
> 
> 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".

You should try either quiet="true"
or failonerror="false".

e.g.

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

Regards,

Thomas


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to