Merge pull request #4536 from eclipse/jetty-10.0.x-4447-websocketModules

Issue #4447 - separate modules for jetty and javax websockets
This commit is contained in:
Lachlan 2020-02-07 16:15:27 +11:00 committed by GitHub
commit e4c1984fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 4 deletions

View File

@ -0,0 +1,11 @@
DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
[description]
Enable both jetty and javax websocket modules for deployed web applications.
[tags]
websocket
[depend]
websocket-jetty
websocket-javax

View File

@ -1,16 +1,20 @@
DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
[description]
Enable websockets for deployed web applications
Enable javax.websocket for deployed web applications.
[tags]
websocket
[depend]
# websocket client needs jetty-client
client
# javax.websocket needs annotations
annotations
[lib]
lib/websocket/*.jar
lib/websocket/websocket-core-${jetty.version}.jar
lib/websocket/websocket-servlet-${jetty.version}.jar
lib/websocket/jetty-javax-websocket-api-1.1.2.jar
lib/websocket/websocket-javax-*.jar
[jpms]
# The implementation needs to access method handles in

View File

@ -0,0 +1,21 @@
DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
[description]
Enable the Jetty WebSocket API for deployed web applications.
[tags]
websocket
[depend]
client
annotations
[lib]
lib/websocket/websocket-core-${jetty.version}.jar
lib/websocket/websocket-servlet-${jetty.version}.jar
lib/websocket/websocket-jetty-*.jar
[jpms]
# The implementation needs to access method handles in
# classes that are in the web application classloader.
add-reads: org.eclipse.jetty.websocket.common=ALL-UNNAMED