Update the instruction for running SPDY examples

This commit is contained in:
Trustin Lee 2014-05-21 17:29:18 +09:00
parent 861ed1e7ad
commit d318f526a2
5 changed files with 12 additions and 10 deletions

View File

@ -45,9 +45,9 @@ import static java.util.concurrent.TimeUnit.*;
* 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 {

View File

@ -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;

View File

@ -36,9 +36,9 @@ import java.util.Arrays;
* 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

View File

@ -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

View File

@ -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"