Set the default filters for file resources that should not be copied.

  • Example: -donotcopy=(CVS|\.svn)

  • Pattern: .*



When -includeresource copies files from another JAR or the file system it will look at the -donotcopy instruction. This instruction is a single regular expression. Any resource that is copied is matched against this list. If there is a match, then the file is ignored.

For example (and also the defaults)

-donotcopy: CVS|\\.svn|\\.git|\\.DS_Store|\\.gitignore