ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell \(DPML\)" <mcconn...@apache.org>
Subject RE: Cannot delete directories using wildcards
Date Fri, 02 Jun 2006 08:22:23 GMT
 

> -----Original Message-----
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 

> This results in AbstractFileSet.getDirectoryScanner(Project) [2]:
>    ...
>    if (dir == null) {
>        throw new BuildException("No directory specified for " +
> getDataTypeName() + ".");
>    }
>    if (!dir.exists()) {
>        throw new BuildException(dir.getAbsolutePath() + " not 
> found.");
>    }
>    if (!dir.isDirectory()) {
>        throw new BuildException(dir.getAbsolutePath() + " is 
> not a directory.");
>    }
> 
> What additional exceptions do you want?

None.  Based on the initial message I made the (mistaken) assumption that
the user did not receive an appropriate error message.

Cheers, Steve.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message