I have some Mercurial subrepos in my sources, and so, there's ".hg" dir for each subrepo.

During making jar, this dirs ".hg" becomes packed into jar. How can i exclude this files? 

I use Java ME Platform SDK 3.0, i tried to add "filter.excludes=\*\*/.hg" to nbproject/project.properties, but there's no effect, unfortunately.