https://bz.apache.org/bugzilla/show_bug.cgi?id=63691

--- Comment #2 from Igal Sapir <isa...@apache.org> ---
(In reply to Mark Thomas from comment #1)
> Why not just do
> 
> System.setProperty("tomcat.util.scan.StandardJarScanFilter.jarsToSkip","*.
> jar") ?

IIRC then that still reads the directories and then filters them out. 
Currently I am using the following:

  context.setJarScanner(
    new JarScanner() {
      @Override
      public void scan(JarScanType scanType, ServletContext context,
JarScannerCallback callback) {}

       @Override
       public JarScanFilter getJarScanFilter() { return null; }

       @Override
       public void setJarScanFilter(JarScanFilter jarScanFilter) {}
      }
  );

It might be negligible compared to the System property that you cited but then
again the addition is very minor as well.

If you still think that it's not useful then that's fine and we can just close
this ticket as rejected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to