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:29:06 UTC

[32/50] brooklyn-docs git commit: Tell people to first cd into the example's directory

Tell people to first cd into the example's directory

Update online docs and READMEs accordingly for each example


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

Branch: refs/heads/0.4.0
Commit: 3410ac6932725e46e1f3b838ee140d8ed26219b1
Parents: 32a8a33
Author: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Authored: Tue Jul 31 17:27:52 2012 +0100
Committer: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Committed: Tue Jul 31 17:27:52 2012 +0100

----------------------------------------------------------------------
 docs/use/examples/global-web-fabric/index.md         | 10 ++++++++--
 docs/use/examples/messaging/index.md                 | 10 ++++++++--
 docs/use/examples/portable-cloudfoundry/index.md     | 10 ++++++++--
 docs/use/examples/webcluster/webcluster.include.md   | 10 ++++++++--
 docs/use/examples/whirrhadoop/whirrhadoop.include.md | 10 ++++++++--
 5 files changed, 40 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/3410ac69/docs/use/examples/global-web-fabric/index.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/global-web-fabric/index.md b/docs/use/examples/global-web-fabric/index.md
index e42215a..211ac06 100644
--- a/docs/use/examples/global-web-fabric/index.md
+++ b/docs/use/examples/global-web-fabric/index.md
@@ -14,14 +14,20 @@ but does not assume knowledge of either of these.
 
 {% readj ../before-begin.include.md %}
 
+Now, go to this particular example's directory:
+
+{% highlight bash %}
+% cd global-web-fabric
+{% endhighlight %}
+
 The CLI needs to know where to find your compiled examples. You can set this up by exporting
 the ``BROOKLYN_CLASSPATH`` environment variable in the following way:
 
 {% highlight bash %}
-% export BROOKLYN_CLASSPATH=${BROOKLYN_EXAMPLES_DIR}/global-web-fabric/target/classes
+% export BROOKLYN_CLASSPATH=$(pwd)/target/classes
 {% endhighlight %}
 
-The project ``${BROOKLYN_EXAMPLES_DIR}/global-web-fabric`` contains the code used
+The project ``global-web-fabric`` contains the code used
 in this example under ``src/main/java``.
 
 

http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/3410ac69/docs/use/examples/messaging/index.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/messaging/index.md b/docs/use/examples/messaging/index.md
index 219fee3..cf83186 100644
--- a/docs/use/examples/messaging/index.md
+++ b/docs/use/examples/messaging/index.md
@@ -12,14 +12,20 @@ Java AMQP message broker and clients using the
 
 {% readj ../before-begin.include.md %}
 
+Now, go to this particular example's directory:
+
+{% highlight bash %}
+% cd simple-messaging-pubsub
+{% endhighlight %}
+
 The CLI needs to know where to find your compiled examples. You can set this up by exporting
 the ``BROOKLYN_CLASSPATH`` environment variable in the following way:
 
 {% highlight bash %}
-% export BROOKLYN_CLASSPATH=${BROOKLYN_EXAMPLES_DIR}/simple-messaging-pubsub/target/classes
+% export BROOKLYN_CLASSPATH=$(pwd)/target/classes
 {% endhighlight %}
 
-The project ``${BROOKLYN_EXAMPLES_DIR}/simple-messaging-pubsub`` includes a deployment
+The project ``simple-messaging-pubsub`` includes a deployment
 descriptor for our example messaging application and simple _Publish_
 and _Subscribe_ JMS test client scripts.
 

http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/3410ac69/docs/use/examples/portable-cloudfoundry/index.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/portable-cloudfoundry/index.md b/docs/use/examples/portable-cloudfoundry/index.md
index d409fb9..72b5dc9 100644
--- a/docs/use/examples/portable-cloudfoundry/index.md
+++ b/docs/use/examples/portable-cloudfoundry/index.md
@@ -18,14 +18,20 @@ than defining an application. On the plus side, entities are much easier to re-u
 
 {% readj ../before-begin.include.md %}
 
+Now, go to this particular example's directory:
+
+{% highlight bash %}
+% cd portable-cloudfoundry
+{% endhighlight %}
+
 The CLI needs to know where to find your compiled examples. You can set this up by exporting
 the ``BROOKLYN_CLASSPATH`` environment variable in the following way:
 
 {% highlight bash %}
-% export BROOKLYN_CLASSPATH=${BROOKLYN_EXAMPLES_DIR}/portable-cloudfoundry/target/classes
+% export BROOKLYN_CLASSPATH=$(pwd)/target/classes
 {% endhighlight %}
 
-The project ``${BROOKLYN_EXAMPLES_DIR}/portable-cloudfoundry`` contains the code used
+The project ``portable-cloudfoundry`` contains the code used
 in this example in ``src/main/java``.
 
 

http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/3410ac69/docs/use/examples/webcluster/webcluster.include.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/webcluster/webcluster.include.md b/docs/use/examples/webcluster/webcluster.include.md
index c672e88..37ca544 100644
--- a/docs/use/examples/webcluster/webcluster.include.md
+++ b/docs/use/examples/webcluster/webcluster.include.md
@@ -2,14 +2,20 @@
         
 {% readj ../before-begin.include.md %}
 
+Now, go to this particular example's directory:
+
+{% highlight bash %}
+% cd simple-web-cluster
+{% endhighlight %}
+
 The CLI needs to know where to find your compiled examples. You can set this up by exporting
 the ``BROOKLYN_CLASSPATH`` environment variable in the following way:
 
 {% highlight bash %}
-% export BROOKLYN_CLASSPATH=${BROOKLYN_EXAMPLES_DIR}/simple-web-cluster/target/classes
+% export BROOKLYN_CLASSPATH=$(pwd)/target/classes
 {% endhighlight %}
 
-The project ``${BROOKLYN_EXAMPLES_DIR}/simple-web-cluster`` includes several deployment descriptors
+The project ``simple-web-cluster`` includes several deployment descriptors
 for rolling out a web application, under ``src/main/java``.
 
 ## Simple Web Server

http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/3410ac69/docs/use/examples/whirrhadoop/whirrhadoop.include.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/whirrhadoop/whirrhadoop.include.md b/docs/use/examples/whirrhadoop/whirrhadoop.include.md
index 0b772e8..7ff77e4 100644
--- a/docs/use/examples/whirrhadoop/whirrhadoop.include.md
+++ b/docs/use/examples/whirrhadoop/whirrhadoop.include.md
@@ -1,13 +1,19 @@
 {% readj ../before-begin.include.md %}
 
+Now, go to this particular example's directory:
+
+{% highlight bash %}
+% cd hadoop-and-whirr
+{% endhighlight %}
+
 The CLI needs to know where to find your compiled examples. You can set this up by exporting
 the ``BROOKLYN_CLASSPATH`` environment variable in the following way:
 
 {% highlight bash %}
-% export BROOKLYN_CLASSPATH=${BROOKLYN_EXAMPLES_DIR}/hadoop-and-whirr/target/classes
+% export BROOKLYN_CLASSPATH=$(pwd)/target/classes
 {% endhighlight %}
 
-The project ``${BROOKLYN_EXAMPLES_DIR}/hadoop-and-whirr`` includes deployment descriptors
+The project ``hadoop-and-whirr`` includes deployment descriptors
 showing how to provision Whirr-based clusters from Brooklyn,
 including setting up a Hadoop recipe.