Here are some examples and expected behaviors:
Filter Text | Result |
---|---|
svn##.git##*.temp | Ignore excludes any .temp files (and any files named svn or .git) |
*.war | Ignore excludes all .war files |
*.tmp##boring.xml##readme.md | Ignore excludes all .tmp files, boring.xml, and readme.md files |
Combining include and exclude filters
File Filer | File Exclude Filter | Result |
---|---|---|
.war##.jar | badProject | Copy select all .war and .jar files, unless there is a folder named badProject in its path |
.war##.ear | badProject.war | Copy select all .ear and .war files, except badProject.war |
*.tmp##boring.xml##readme.md | Copy select everything except all .tmp files, boring.xml, and readme.md | |
*.war | Copy select all .war files | |
Important.* | *.class | Copy select all files that start with Important. Unless , unless they end in .class |