Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow for customization of the Jetty WebAppContext #660

Merged
merged 1 commit into from
Sep 9, 2024

Commits on Sep 9, 2024

  1. Allow for customization of the Jetty WebAppContext

    Standalone Jetty installations provide a means to configure the context via XML files: https://jetty.org/docs/jetty/12/operations-guide/xml/index.html
    
    The mechanism doesn't work for embedded use - XML files need to be discovered and loaded explicitly. For our purposes, applications can place a jetty-context.xml file in their WEB-INF directory in order for Alpine to discover them.
    
    Since Alpine applications do not directly depend on alpine-executable-war, and thus do usually not have access to Jetty classes, the Jetty-native XML configuration was preferred over programmatic customization.
    
    Signed-off-by: nscuro <nscuro@protonmail.com>
    nscuro committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    1e77df8 View commit details
    Browse the repository at this point in the history