]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3885 Documentation of inclusion patterns
authorDavid Gageot <david@gageot.net>
Tue, 6 Nov 2012 15:09:02 +0000 (16:09 +0100)
committerDavid Gageot <david@gageot.net>
Tue, 6 Nov 2012 15:09:02 +0000 (16:09 +0100)
plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties

index c76959c32aec009f004ff0aa147889af3a0692cb..e050a5305f7dae82a5844f560be0879959d6709a 100644 (file)
@@ -605,6 +605,10 @@ category.exclusions.help=<h2>Wildcards</h2>\
      <td>?</td>\
      <td>Match a single character</td>\
    </tr>\
+   <tr class="even">\
+     <td>!</td>\
+     <td>Negates a pattern</td>\
+   </tr>\
  </table>\
  <p>Examples:</p>\
  <table class="data">\
@@ -662,6 +666,17 @@ category.exclusions.help=<h2>Wildcards</h2>\
        </ul>\
      </td>\
    </tr>\
+   <tr class="even">\
+     <td>!**/*Test.java</td>\
+     <td>matches all <code>.java</code> files whose name doesn't end with <code>Test</code></td>\
+     <td>\
+       <ul>\
+         <li>Foo.java</li>\
+         <li>foo/Bar.java</li>\
+         <li>foo/bar/Baz.java</li>\
+       </ul>\
+     </td>\
+   </tr>\
  </table>
 
 property.error.notBoolean=Valid options are "true" and "false"