brooklyncentral/brooklyn — pull request #236 by aledsage (2012-07-19 22:41:10+00:00)
Title: Adds README.txt for each examples dir

This gives commands for running the examples, rather than
having scripts for each.

---
Things that we still need to be done asap:
* Test all the commands (I've only tested a subset)
* Update http://brooklyncentral.github.com/use/examples/webcluster/index.html
* Update https://github.com/brooklyncentral/brooklyn-examples
Or do we do that on a stable release, so when we produce M3?
(this is mentioned in http://brooklyncentral.github.com/start/download.html#examples)
* Sort out the pom.xml building of examples, so don't generate the sub-dir with lib+bin
(but be careful with simple-messaging-pubsub, as the publish and subscribe classes require extra libs from there).

And other things I'm not happy with:
* Download instruction of distro (using curl) is for M1
M2 is not yet on `developers`; and snapshot does not have a stable URL because files contain a timestamp.
* A lot of duplication between each file
* Use of $EXAMPLES_HOME isn't great