Rather than excluding everything (which may collide with other patterns), let's include something that does not exist L10NBuild201433
authorJaroslav Tulach <jtulach@netbeans.org>
Fri, 08 Jun 2012 23:16:01 +0200
branchL10NBuild201433
changeset 231157bd00f2a2dda7
parent 231151 284a4aa10eed
child 231158 e2c168e25e5f
Rather than excluding everything (which may collide with other patterns), let's include something that does not exist
nbbuild/antsrc/org/netbeans/nbbuild/LocFiles.java
     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);