Skip to content

Commit

Permalink
Merge pull request #4536 from eclipse/jetty-10.0.x-4447-websocketModules
Browse files Browse the repository at this point in the history
Issue #4447 - separate modules for jetty and javax websockets
  • Loading branch information
lachlan-roberts committed Feb 7, 2020
2 parents 8197c12 + b3144dd commit e4c1984
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e4c1984

Please sign in to comment.