-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
Description
I was looking for an alternative to the chat server instructions (https://tootallnate.github.io/Java-WebSocket/) mentioned in #937.
Apparently, running the examples used to be as simple as this:
ant
java -cp build/examples:dist/java_websocket.jar ChatServer
java -cp build/examples:dist/java_websocket.jar ChatClientWhen I tried building it now using Maven or Gradle, the classes under src/main/example/ weren't being compiled so I had to manually javac them and then download SLF4J dependency jars.
Maybe there should be a simple build task so you can do, for example gradle example or mvn example to run the examples.