marcosemiao opened a new pull request, #60:
URL: https://github.com/apache/tomcat-jakartaee-migration/pull/60

   The -exclude parameter with the -matchExcludesAgainstPathName parameter only 
works for file names and not on the directory. When calling isExcluded with the 
matchExcludesAgainstPathName parameter The following code is executed:
   
   File f = new File(name);
   String filename = f.getName();
   if (matchExcludesAgainstPathName && GlobMatcher.matchName(excludes, name, 
true)) { return true;
   }
   
   The value of name is equal to the file name and never to the full path, 
matching with a directory cannot be done.
   
   example: -matchExcludesAgainstPathName -exclude=*.git*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to