Skip to content

Extjs webjar is 85MB. #971

@ptahchiev

Description

@ptahchiev

Hi there,

I'm having troubles with the extjs webjar. Here's the full thread:

http://jetty.4.x6.nabble.com/jetty-dev-Maven-Jetty-Plugin-Slow-with-Java8-td4963888.html

but basically the servlet 3.1 spec says if there's any ServletContextInitializer in the classpath that has a HandlesTypes annotation, then the servlet container needs to scan the whole classpath. Thus the jetty servlet container starts very slow (~ 15 mins) because of the extjs webjar - it is nearly 85 MB. If I remove the this webjar is starts almost instantaneously. I noticed there's another webjar on pentahohub:

<dependency>
    <groupId>com.pentahohub</groupId>
    <artifactId>webjars-extjs</artifactId>
    <version>5.1.0</version>
</dependency>

which is 13MB. It only contains the needed javascript and the packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions