geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rex Wang (JIRA)" <>
Subject [jira] [Commented] (GERONIMO-5764) Support Bundles Deployment in deployment command line
Date Sun, 19 Jun 2011 05:51:47 GMT


Rex Wang commented on GERONIMO-5764:

Just upload a new patch: GERONIMO-5764-install-bundle.patch
I modified the design as the following:
1. Only one cli is kept. That is:
  deploy install-bundle --inplace --start --startLevel 90 D:\BlueprintSample\SampleBundles\HelloWorld.jar
This cli will install the bundle to osgi framework and record it in the var/config/bundle-records.csv

2. Use a BundleTracker to track Uninstalled bundles, if the bundle is listed in the bundle-records.csv,
the tracker will erase it. That is, user can use the normal osgi uninstall command to uninstall
a recorded bundle and its record will be automatically erased in back.

3. Modified the BundleRecorder interface, only one API is exposed: 
 public long recordInstall(File bundleFile, boolean inplace, int startLevel)
So, if GEP want to start/stop a bundle, it could use the OSGi's FrameworkMBean, like what
does in install-bundle cli.


> Support Bundles Deployment in deployment command line
> -----------------------------------------------------
>                 Key: GERONIMO-5764
>                 URL:
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: commands, console, deployment
>    Affects Versions: 3.0
>            Reporter:
>            Assignee: Rex Wang
>            Priority: Critical
>             Fix For: 3.0
>         Attachments: GERONIMO-5764-install-bundle.patch, GERONIMO-5764-record-bundle.patch,
> Now we have to deploy a regular bundle via karaf shell: osgi:install file:/[bunlde_path],
not deployer command line, so open this jira to track this feature enablement.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message