I have developed a web app using OSGi service bundles, host web bundle, slice web bundles and other common bundles. Currently I am deploying the bundles in the required order manually. I want to automate the entire process of bundle deployment. I would create a configuration file having the bundle names and the order in which they have to be deployed. The deployment script would read the configuration file and deploy the bundles in required order and would connect to DM Shell to find the status of the bundle (ACTIVE) before deploying the next bundle.
While working with Spring DM 1.0.2 I wrote Ruby script and everything was working. Now moving to DM 2, telnet to port 2401 is not supported, so I changed my Ruby script to use SSH instead of telnet. I am getting the following error – could not execute command: "bundle list".
What is the best way to achieve the automated deployment recommended by Spring Source?