ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Ruff <r...@swand.lake.de>
Subject Re: suppress stopping build on error?
Date Tue, 24 Oct 2000 20:51:00 GMT
> What version of Ant are you using?  The latest (1.2) quietly does nothing
> if the directory you specify doesn't exist.

ant.jar 1.2 from today, on Linux.
Here it stops with error for

    <delete>
      <fileset dir="${dist.dir}" includes="**"/>
    </delete>
   

> Hi,
> 
> i have a 'clean' target where i <delete> directories.
> If one of those does not exist, build stops:
> 
>  BUILD FAILED
> 
>  /home/ruff/xy/build.xml:319: /home/ruff/xy/test not found.
> 
> How can i keep build running,
> there are other tasks i want to do
> even if the directory did not exist.

-- 
Marcel Ruff
mailto:ruff@swand.lake.de

Mime
View raw message