diff --git a/example/src/main/java/io/netty/example/spdy/client/SpdyClient.java b/example/src/main/java/io/netty/example/spdy/client/SpdyClient.java index fbae5d12f1..821005f862 100644 --- a/example/src/main/java/io/netty/example/spdy/client/SpdyClient.java +++ b/example/src/main/java/io/netty/example/spdy/client/SpdyClient.java @@ -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 * Jetty docs for more information. *

- * 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: *

- *     mvn exec:exec -Pspdy-client
+ *     ./run-example spdy-client
  * 
*/ public class SpdyClient { diff --git a/example/src/main/java/io/netty/example/spdy/client/package-info.java b/example/src/main/java/io/netty/example/spdy/client/package-info.java index c9e8d44fec..de3f6d40ed 100644 --- a/example/src/main/java/io/netty/example/spdy/client/package-info.java +++ b/example/src/main/java/io/netty/example/spdy/client/package-info.java @@ -33,11 +33,13 @@ * After that, you can run {@link io.netty.example.spdy.client.SpdyClient}, also settings the JVM parameter * mentioned above. *

- * 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: *

- *     mvn exec:exec -Pspdy-server
+ *     ./run-example spdy-server
  * 
* Then start the client in a different terminal window: - * mvn exec:exec -Pspdy-client + *
+ *     ./run-example spdy-client
+ * 
*/ package io.netty.example.spdy.client; diff --git a/example/src/main/java/io/netty/example/spdy/server/SpdyServer.java b/example/src/main/java/io/netty/example/spdy/server/SpdyServer.java index a281dd5ddb..f602051f8d 100644 --- a/example/src/main/java/io/netty/example/spdy/server/SpdyServer.java +++ b/example/src/main/java/io/netty/example/spdy/server/SpdyServer.java @@ -36,9 +36,9 @@ import java.util.Arrays; * See Jetty docs for more * information. *

- * 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: *

- *     mvn exec:exec -Pspdy-server
+ *     ./run-example spdy-server
  * 
*

* Once started, you can test the server with your diff --git a/example/src/main/java/io/netty/example/spdy/server/package-info.java b/example/src/main/java/io/netty/example/spdy/server/package-info.java index ece1e7c9c7..1a61e7a58b 100644 --- a/example/src/main/java/io/netty/example/spdy/server/package-info.java +++ b/example/src/main/java/io/netty/example/spdy/server/package-info.java @@ -28,9 +28,9 @@ * See Jetty docs for more * information. *

- * 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: *

- *     mvn exec:exec -Pspdy-server
+ *     ./run-example spdy-server
  * 
*

* Once started, you can test the server with your diff --git a/run-example.sh b/run-example.sh index c409aaf098..48bd2fd07e 100755 --- a/run-example.sh +++ b/run-example.sh @@ -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"