Install Cloud Foundry Add-on in Roo 1.1.5.RELEASE following instructions in Roo reference doc doesn't work.
It tries to install version 1.2.0.M1 of the Add-on and this is the output
roo> cloud Command 'cloud' not found (for assistance press TAB or type "hint" then hit ENTER) Located add-on that may offer this command 1 found, sorted by rank; T = trusted developer; R = Roo 1.1 compatible ID T R DESCRIPTION ------------------------------------------------------------- 01 Y Y 1.2.0.M1 Provides VMware Cloud Foundry support for Spring Roo.... -------------------------------------------------------------------------------- [HINT] use 'addon info id --searchResultId ..' to see details about a search result [HINT] use 'addon install id --searchResultId ..' to install a specific search result, or [HINT] use 'addon install bundle --bundleSymbolicName TAB' to install a specific add-on version roo> addon in addon info addon install roo> addon install id --searchResultId 01 Target resource(s): ------------------- Spring Roo - Addon - Cloud Foundry (1.2.0.M1) Required resource(s): --------------------- Spring Beans (3.0.5.RELEASE) Spring Roo - File Undo (1.2.0.M1) Spring Roo - Process Manager (1.2.0.M1) Spring Roo - Support for OSGi Features (1.2.0.M1) jcl-over-slf4j (1.6.1) Spring Roo - File Monitor (1.2.0.M1) slf4j-nop (1.6.1) Spring AOP (3.0.5.RELEASE) Servlet Specification API (2.5.0) Spring Roo - Metadata (1.2.0.M1) Spring Roo - Project (1.2.0.M1) Spring Core (3.0.5.RELEASE) Please wait - still loading Spring Roo - Shell (OSGi Launcher) (1.2.0.M1) Spring Roo - Model (1.2.0.M1) Jackson JSON processor (1.6.2) Data mapper for Jackson JSON processor (1.6.2) Spring Context (3.0.5.RELEASE) Spring Roo - Wrapping - aopalliance (1.0.0.0010) Spring Web (3.0.5.RELEASE) slf4j-api (1.6.1) Spring Roo - User Agent Analysis (UAA) Integration (1.2.0.M1) Spring Roo - Support (1.2.0.M1) Spring Roo - Shell (1.2.0.M1) Spring Roo - Wrapping - Cloud Foundry API (0.0.1.0010) Optional resource(s): --------------------- Spring Expression Language (3.0.5.RELEASE) Spring ASM (3.0.5.RELEASE) Deploying...done. NullPointerException at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:207)
After that, Roo shell hangs and you must to kill it. Also, Roo shell does not work any more, maybe due to bundle cache.