Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] classpath scanning

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 <g.j.streek@xxxxxxxx> 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
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top