424588 org.eclipse.jetty.ant.AntWebInfConfiguration does not add WEB-INF/classes for annotation scanning

This commit is contained in:
Jan Bartel 2013-12-27 10:15:23 +11:00
parent 31831476f1
commit bca03f0e6d
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ public class AntWebInfConfiguration extends WebInfConfiguration
}
}
webInfJarNameMatcher.match(webInfPattern, uris, true); //null is inclusive, no pattern == all jars match
//No pattern to appy to classes, just add to metadata
context.getMetaData().setWebInfClassesDirs(findClassDirs(context));
}