Hi everyone
We've just released Roo's very first third-party add-on, which provides access to Cloud Foundry. If you're using Roo 1.0.0.RC3 or above (or SVN trunk) you can install this add-on and try it out by typing the following command into Roo:
The ZIP file contains a readme.txt which explains how to use the add-on. But in summary just type "cloud foundry" and press TAB once you've installed the add-on. It's very easy-to-use and quite powerful, as you can deploy your Roo-based application straight to scalable cloud computing infrastructure without needing to even leave the shell. You will need an account from http://www.cloudfoundry.com in order to use it, though.Code:addon install --url https://anonsvn.springframework.org/svn/cloudfoundry_plugins/roo/com.cloudfoundry.roo.addon/trunk/releases/com.cloudfoundry.roo.addon-1.0.0.M1.zip
This add-on also serves as a useful learning tool for those who wish to learn how to develop add-ons themselves. You can re-create this add-on yourself in a mini-tutorial by using "project --topLevelPackage com.cloudfoundry.roo.addon --template ROO_ADDON_PROJECT", editing the Java source code to match what is in the add-on's source code, and finally producing an add-on ZIP file using "mvn assembly:assembly" (or Roo's "perform assembly" command). Then you just need to put the ZIP file on a HTTP server somewhere and you're finished! I'll be explaining add-on development more fully in the future, but this is a good way to get started in the interim.
While the add-on ZIP contains the source code, you're also welcome to anonymously download the source code repository using Subversion:
Have fun!Code:svn co https://anonsvn.springframework.org/svn/cloudfoundry_plugins/roo/com.cloudfoundry.roo.addon/trunk/ com.cloudfoundry.roo.addon


Reply With Quote
