On 2017-12-21, Jaikiran Pai wrote:

> Is it expected that the delete task with a file="*.py"(like below)
> will consider the * a wildcard and delete all files with a .py
> extension?

No, not at all.

> My understanding based on the docs is that it should actually be the
> exact file name (either relative or absolute) and for something like
> wildcard support, the resource collections (like fileset) should be
> used.

That's my understanding as well.

> I committed this change below, to use a resource collection to allow
> the build to pass, which had started failing on Windows, after I did a
> recent change to the delete task to use Java 7 java.nio.file.Files
> API.

Interesting. I wasn't aware of it working before. We probably should
list that as a breaking change.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to