You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Marcel Schutte <ma...@schutte.com> on 2001/08/10 23:55:38 UTC
Problem with includes/excludes patterns
Hi,
>From the docs I figured that for the following directory structure:
foo/
Entry1
bar/
Entry2
this task:
<jar jarfile="error.jar" basedir="foo" excludes="*"/>
should include 'bar/Entry2' in error.jar, but it doesn't. It does in version
1.1, but not anymore in 1.2 or 1.3. Is this a bug or a documentation flaw?
I've put a complete example at http://marcel.schutte.com/antbug.zip
Marcel
Re: Problem with includes/excludes patterns
Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 10 Aug 2001, Marcel Schutte <ma...@schutte.com> wrote:
>>From the docs I figured that for the following directory structure:
>
> foo/
> Entry1
> bar/
> Entry2
>
> this task:
>
> <jar jarfile="error.jar" basedir="foo" excludes="*"/>
>
> should include 'bar/Entry2' in error.jar, but it doesn't. It does in
> version 1.1, but not anymore in 1.2 or 1.3.
And it does again in 1.4beta 8-)
It's a bug that has been introduced with some performance enhancements
in Ant 1.2 and hasn't been detected until very recently - obviously
people don't use patterns to exclude a directory non-recursively that
often 8-).
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1415>
Stefan