From edec5e6feef07b2a98481cec8bc8518dc729e2ad Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 26 Jun 2014 22:31:45 +0000 Subject: NO-JIRA: Updated java/README.txt with instructions to run examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605919 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/README.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'qpid/java/README.txt') diff --git a/qpid/java/README.txt b/qpid/java/README.txt index 918566de20..b3c65abec9 100644 --- a/qpid/java/README.txt +++ b/qpid/java/README.txt @@ -22,3 +22,13 @@ Execute the unit tests and then produce the code coverage report For more details on how to build see: https://cwiki.apache.org/confluence/display/qpid/Qpid+Java+Build+How+To + +==== Running client examples ===== + +Use maven to copy the dependencies for the examples: + + mvn clean package dependency:copy-dependencies -DskipTests + +Now you can run the examples as follows: + + java -cp "client/example/target/classes/:client/example/target/dependency/*" org.apache.qpid.example.Drain -- cgit v1.2.1