You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/02/21 16:06:34 UTC

DO NOT REPLY [Bug 33670] - mydir/**.class

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33670>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33670





------- Additional Comments From rami.ojares@elisa.fi  2005-02-21 16:06 -------
(In reply to comment #0)
> Not sure if it is a bug, or don't fully understand Ant wildcards.  Maybe the
> documentation should be improved.
> 
> I expect mydir/**.class to select all class files under mydir, including
> subdirectories, but it doesn't work.  I have to use mydir/**/*.class.

This is my quess:
I think that "correct" way is to always have double-star construct
alone in path component. But filescanner parser tries to be as understanding
as possible and "maybe" interprets this as
mydir/**/.class
Note that mydir/ is interpreted as mydir/**
Am I right?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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