You can set the context attribute
"org.eclipse.jetty.server.webapp.WebInfIncludeJarPattern" with a set
of patterns matching jar names that you want to include in the
scanning.

Here's an example of a pattern that is used to control which jars on
the container classpath are scanned:

.*/.*jsp-api-[^/]*\.jar$|.*/.*jsp-[^/]*\.jar$|.*/.*taglibs[^/]*\.jar$


regards
Jan


On 26 March 2012 23:03, Gert-Jan van de Streek <[email protected]> wrote:
>
> Classpath scanning for servlets etc is currently taking up about 20 of the 
> starting time of our webapp. This is probably due the number of included jars 
> (about a hundred).
>
> Is there any way to hint the scanner which jar files to include in (or what 
> jar files to exlude from) classpath scanning?
>
> Met vriendelijke groet, regards,
>
> Gert-Jan van de Streek
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to