This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes **/* patten in Ant? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "**/* patten in Ant?" Watch "**/* patten in Ant?" New topic
Author

**/* patten in Ant?

Judy Collins
Greenhorn

Joined: Oct 07, 2004
Posts: 20
Hi there,
Can anybody tell me what does **/* pattern mean in Apache Ant?
I am just not sure what does it mean. Any help is greatly appreciated


Thanks for your help
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
In your case it means include any file with the pattern *.properties in this directory or any subdirectory. Same with the hbm.xml.
Judy Collins
Greenhorn

Joined: Oct 07, 2004
Posts: 20
Thanks a lot for your help.

Here is what I found

The pattern '**/*.hbm.xml' means any file ending in .hbm.xml, within the specified directory, or any subdirectory, however deeply nested.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: **/* patten in Ant?