Skip to content

Commit

Permalink
Update the instruction for running SPDY examples
Browse files Browse the repository at this point in the history
  • Loading branch information
trustin committed May 21, 2014
1 parent 861ed1e commit d318f52
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
* coordinates org.mortbay.jetty.npn:npn-boot. Different versions applies to different OpenJDK versions. See
* <a href="http://www.eclipse.org/jetty/documentation/current/npn-chapter.html">Jetty docs</a> for more information.
* <p>
* You may also use maven to start the client from the command line:
* You may also use the {@code run-example.sh} script to start the client from the command line:
* <pre>
* mvn exec:exec -Pspdy-client
* ./run-example spdy-client
* </pre>
*/
public class SpdyClient {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@
* After that, you can run {@link io.netty.example.spdy.client.SpdyClient}, also settings the JVM parameter
* mentioned above.
* <p>
* You may also use maven to start the server and the client from the command line:
* You may also use the {@code run-example.sh} script to start the server and the client from the command line:
* <pre>
* mvn exec:exec -Pspdy-server
* ./run-example spdy-server
* </pre>
* Then start the client in a different terminal window:
* mvn exec:exec -Pspdy-client
* <pre>
* ./run-example spdy-client
* </pre>
*/
package io.netty.example.spdy.client;
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
* See <a href="http://www.eclipse.org/jetty/documentation/current/npn-chapter.html">Jetty docs</a> for more
* information.
* <p>
* You may also use maven to start the server from the command line:
* You may also use the {@code run-example.sh} script to start the server from the command line:
* <pre>
* mvn exec:exec -Pspdy-server
* ./run-example spdy-server
* </pre>
* <p>
* Once started, you can test the server with your
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
* See <a href="http://www.eclipse.org/jetty/documentation/current/npn-chapter.html">Jetty docs</a> for more
* information.
* <p>
* You may also use maven to start the server from the command line:
* You may also use the {@code run-example.sh} script to start the server from the command line:
* <pre>
* mvn exec:exec -Pspdy-server
* ./run-example spdy-server
* </pre>
* <p>
* Once started, you can test the server with your
Expand Down
2 changes: 1 addition & 1 deletion run-example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ fi

cd "`dirname "$0"`"/example
echo "[INFO] Running: $EXAMPLE ($EXAMPLE_CLASS $EXAMPLE_ARGS)"
exec mvn -X -nsu compile exec:exec -DargLine.example="$EXAMPLE_ARGS" -DexampleClass="$EXAMPLE_CLASS"
exec mvn -nsu compile exec:exec -DargLine.example="$EXAMPLE_ARGS" -DexampleClass="$EXAMPLE_CLASS"

0 comments on commit d318f52

Please sign in to comment.