diff options
Diffstat (limited to 'qpid/java/README.txt')
-rw-r--r-- | qpid/java/README.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/java/README.txt b/qpid/java/README.txt index b3c65abec9..439f70c040 100644 --- a/qpid/java/README.txt +++ b/qpid/java/README.txt @@ -25,10 +25,12 @@ https://cwiki.apache.org/confluence/display/qpid/Qpid+Java+Build+How+To ==== Running client examples ===== -Use maven to copy the dependencies for the examples: +Use maven to build the modules, and additionally copy the dependencies alongside their output: mvn clean package dependency:copy-dependencies -DskipTests -Now you can run the examples as follows: +Now you can then run the examples as follows: java -cp "client/example/target/classes/:client/example/target/dependency/*" org.apache.qpid.example.Drain + + java -cp "amqp-1-0-client-jms/example/target/classes/:amqp-1-0-client-jms/example/target/dependency/*" org.apache.qpid.amqp_1_0.jms.example.Hello |