ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: Problem converting path to property when a fileset's dir does not exist
Date Thu, 20 Oct 2005 14:02:39 GMT
On 10/19/05, Scot P. Floess <floess@mindspring.com> wrote:
> I'm not sure why the source behind Path.java is coded to raise and
> exception if the directory is not there...or more to the point why I
> can't simply specify to <path> something like "ignore-non-existants"

<path> does ignore non-existent files, but the <fileset> within
*requires* it's dir attribute to be a valid directory. <path> is
basically asking <fileset> for the files it selects, and fileset
complains that it's 'base' directory doesn't exists. I think there's a
BugZilla request to add an attribute to stop <fileset> from
complaining when its dir. See
http://issues.apache.org/bugzilla/show_bug.cgi?id=11270. --DD

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


Mime
View raw message