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:18 UTC

[44/50] brooklyn-docs git commit: various files which required additional annotations or manual changes for version updates

various files which required additional annotations or manual changes for version updates


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

Branch: refs/heads/0.4.0
Commit: 162e4e4173635bfe204ed23ed062369fbb38931f
Parents: 6eee71b
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Fri Jan 4 15:56:46 2013 +0000
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Fri Jan 4 22:50:52 2013 +0000

----------------------------------------------------------------------
 docs/start/download.md | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/162e4e41/docs/start/download.md
----------------------------------------------------------------------
diff --git a/docs/start/download.md b/docs/start/download.md
index fc2cab3..4039986 100644
--- a/docs/start/download.md
+++ b/docs/start/download.md
@@ -15,25 +15,26 @@ toc: ../toc.json
 <a name="distro"></a>
 ## The Distro
 
-You can grab the distribution artifact, containing Brooklyn, its dependencies and launch scripts, here:
+{% capture maven_this_version_base_url %}{% if site.brooklyn-version contains 'SNAPSHOT' %}http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/{% else %}http://developers.cloudsoftcorp.com/download/maven2/{% endif %}{% endcapture %}
 
-<!-- BROOKLYN_VERSION_BELOW -->
-* [0.4.0-M2.tar.gz](http://developers.cloudsoftcorp.com/download/maven2/io/brooklyn/brooklyn-dist/0.4.0-M2/brooklyn-dist-0.4.0-M2-dist.tar.gz)
-* [0.4.0-M2.zip](http://developers.cloudsoftcorp.com/download/maven2/io/brooklyn/brooklyn-dist/0.4.0-M2/brooklyn-dist-0.4.0-M2-dist.zip)
-* [0.4.0-M1.tar.gz](http://developers.cloudsoftcorp.com/download/maven2/io/brooklyn/brooklyn-dist/0.4.0-M1/brooklyn-dist-0.4.0-M1-dist.tar.gz)
-* [0.4.0-M1.zip](http://developers.cloudsoftcorp.com/download/maven2/io/brooklyn/brooklyn-dist/0.4.0-M1/brooklyn-dist-0.4.0-M1-dist.zip)
+You can grab the distribution artifact, containing Brooklyn, its dependencies and launch scripts, 
+here{% if site.brooklyn-version contains 'SNAPSHOT' %} (but please **check the date** on snapshot artifacts){% endif %}:
+
+* [{{ site.brooklyn-version }}]({{ maven_this_version_base_url }}io/brooklyn/brooklyn-dist/{{ site.brooklyn-version }}/)
+* [all stable versions](http://developers.cloudsoftcorp.com/download/maven2/io/brooklyn/brooklyn-dist/)
+* [all snapshot versions](http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/io/brooklyn/brooklyn-dist/)
 
 Just download your preferred flavour and unpack.
 
 <a name="alljar"></a>
 ## The All Jar
 
-You can grab a single JAR containing all of Brooklyn and its dependencies here:
+You can grab a single JAR containing all of Brooklyn and its dependencies 
+here{% if site.brooklyn-version contains 'SNAPSHOT' %} (again please check the date on snapshot artifacts){% endif %}:
 
-<!-- BROOKLYN_VERSION_BELOW -->
-* [0.4.0-M2](http://developers.cloudsoftcorp.com/download/maven2/io/brooklyn/brooklyn-all/0.4.0-M2/)
-* [0.4.0-M1](http://developers.cloudsoftcorp.com/download/maven2/io/brooklyn/brooklyn-all/0.4.0-M1/)
-* [SNAPSHOT](http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/io/brooklyn/brooklyn-all/0.4.0-SNAPSHOT/)
+* [{{ site.brooklyn-version }} (jar)]({{ maven_this_version_base_url }}io/brooklyn/brooklyn-all/{{ site.brooklyn-version }}/)
+* [all stable versions](http://developers.cloudsoftcorp.com/download/maven2/io/brooklyn/brooklyn-all/)
+* [all snapshot versions](http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/io/brooklyn/brooklyn-all/)
 
 Just download your preferred flavour and add it to your classpath.
 
@@ -54,10 +55,11 @@ If you prefer to do this from the command-line, use:
 % curl -L https://github.com/brooklyncentral/brooklyn-examples/tarball/master -o brooklyn-latest.tgz
 {% endhighlight %}
 
-If you are looking for a specific version (versions of the examples are aligned with Brooklyn non-snapshot releases) try the following command:
+If you are looking for a specific version (e.g. to run examples compiled for a specific Brooklyn version) try the following command:
 
 {% highlight bash %}
-% curl -L https://github.com/brooklyncentral/brooklyn-examples/tarball/0.4.0-M2 -o brooklyn-0.4.0-M2.tgz
+% export BV=0.4.0-M2
+% curl -L https://github.com/brooklyncentral/brooklyn-examples/tarball/${BV} -o brooklyn-${BV}.tgz
 {% endhighlight %}
 
 Once you have the examples you can build them with [maven (v3)]({{site.url}}/dev/build/).