Skip to content

Commit e737785

Browse files
committed
Fixed copy and run example notes
1 parent 167ce22 commit e737785

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,5 @@ if (isRelease) {
156156
tasks.register('copyToLib', Copy) {
157157
into "build/libs"
158158
from configurations.runtimeClasspath
159+
from configurations.testRuntimeClasspath
159160
}

src/test/java/io/nats/vertx/examples/VertxNoResponders.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@
2929

3030
/**
3131
* INSTRUCTIONS TO BUILD AND RUN
32-
* 1. gradlew clean compileJava copyToLib
33-
* 2. java -cp "build/libs/*;build/classes/java/main" io.nats.vertx.examples.VertxNoResponders
32+
* 0. Run a nats-server on the host:port in the example
33+
* 1. gradlew clean compileTest compileJava copyToLib
34+
* 2. java -cp "build/libs/*;build/classes/java/main;build/classes/java/test" io.nats.vertx.examples.VertxNoResponders
3435
*/
3536
public class VertxNoResponders {
3637

0 commit comments

Comments
 (0)