You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2014/10/02 14:25:58 UTC

[2/2] git commit: add a README for examples

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 <ro...@apache.org>
Authored: Thu Oct 2 13:24:56 2014 +0100
Committer: Robert Gemmell <ro...@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-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org