add a README for examples
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/12ca77c4 Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/12ca77c4 Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/12ca77c4 Branch: refs/heads/master Commit: 12ca77c4258cbc2aa8df06c311960efcb4eb5b55 Parents: 69db6cc Author: Robert Gemmell <rob...@apache.org> Authored: Thu Oct 2 13:24:56 2014 +0100 Committer: Robert Gemmell <rob...@apache.org> Committed: Thu Oct 2 13:24:56 2014 +0100 ---------------------------------------------------------------------- qpid-jms-examples/README.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/12ca77c4/qpid-jms-examples/README.txt ---------------------------------------------------------------------- diff --git a/qpid-jms-examples/README.txt b/qpid-jms-examples/README.txt new file mode 100644 index 0000000..aba0a6d --- /dev/null +++ b/qpid-jms-examples/README.txt @@ -0,0 +1,17 @@ +=========================== +Running the client examples +=========================== + +Use maven to build the module, and additionally copy the dependencies +alongside their output: + + mvn clean package dependency:copy-dependencies -DincludeScope=runtime -DskipTests + +Now you can run the examples using commands of the format: + + java -cp "target/classes/:target/dependency/*" org.apache.qpid.jms.example.Drain + + +NOTE: The earlier build command will cause Maven to resolve the client artifact +dependencies against its local and remote repositories. If you wish to use a +locally-built client, ensure to install it in your local maven repo first. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org