Rather than excluding everything (which may collide with other patterns), let's include something that does not exist
1.1 --- a/nbbuild/antsrc/org/netbeans/nbbuild/LocFiles.java Fri Jun 08 09:28:17 2012 +0200
1.2 +++ b/nbbuild/antsrc/org/netbeans/nbbuild/LocFiles.java Fri Jun 08 23:16:01 2012 +0200
1.3 @@ -123,7 +123,7 @@
1.4 PatternSet ps = new PatternSet();
1.5 ps.setProject(getProject());
1.6 if (includes.isEmpty()) {
1.7 - ps.createExclude().setName("**/*");
1.8 + ps.createInclude().setName("I/dont/exist/at/all");
1.9 } else {
1.10 for (String s : includes) {
1.11 ps.createInclude().setName(s);