You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:28:39 UTC

[05/50] brooklyn-docs git commit: Update simple-messaging-pubsub example docs to take cli into account

Update simple-messaging-pubsub example docs to take cli into account

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/bfaa616f
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/bfaa616f
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/bfaa616f

Branch: refs/heads/0.4.0
Commit: bfaa616f82ff08a2fcf4b771a47e4c8fe4074dd4
Parents: 55a8887
Author: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Authored: Wed May 30 16:39:18 2012 +0100
Committer: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Committed: Wed May 30 16:39:18 2012 +0100

----------------------------------------------------------------------
 docs/use/examples/messaging/index.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/bfaa616f/docs/use/examples/messaging/index.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/messaging/index.md b/docs/use/examples/messaging/index.md
index 898ba4c..fba5dd0 100644
--- a/docs/use/examples/messaging/index.md
+++ b/docs/use/examples/messaging/index.md
@@ -69,10 +69,8 @@ out the Brooklyn [repository](https://www.github.com/brooklyncentral/brooklyn)
 as follows:
 
 {% highlight bash %}
-% cd $BROOKLYN/examples/simple-messaging-pubsub
-% mvn clean install
-% cd brooklyn-example-simple-messaging-pubsub
-% ./demo-broker.sh
+% cd $EXAMPLES_DIR/simple-messaging-pubsub/brooklyn-example-simple-messaging-pubsub/bin
+% ./broker.sh
 {% endhighlight %}
 
 Now, visit the the Brooklyn web console on port 8081 using credentials
@@ -112,6 +110,7 @@ below, and that any unquoted ``&`` characters *must* be escaped,
 if present.
 
 {% highlight bash %}
+% cd $EXAMPLES_DIR/simple-messaging-pubsub/brooklyn-example-simple-messaging-pubsub/bin
 % ./publish.sh "amqp://guest:guest@/localhost?brokerlist='tcp://localhost:5672'"
 % ./subscribe.sh "amqp://guest:guest@/localhost?brokerlist='tcp://localhost:5672'"
 {% endhighlight %}
@@ -140,7 +139,8 @@ this can also be deployed to your favourite cloud, let's pretend
 it's Amazon Ireland, as follows:
 
 {% highlight bash %}
-$ ./demo-broker.sh aws-ec2:eu-west-1
+% cd $EXAMPLES_DIR/simple-messaging-pubsub/brooklyn-example-simple-messaging-pubsub/bin
+$ ./broker.sh aws-ec2:eu-west-1
 {% endhighlight %}
 
 If you encounter any difficulties, please