[ 
https://issues.apache.org/jira/browse/KARAF-2915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Anstey resolved KARAF-2915.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0.0
         Assignee: Jonathan Anstey

Fixed with http://git-wip-us.apache.org/repos/asf/karaf/commit/53ad48f2

Example usage:
{code}
karaf@root()> bundle:install -l 67 -s 
mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1 
mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1 
mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.2
Bundle IDs: , 48, 49, 50
karaf@root()> list
START LEVEL 100 , List Threshold: 50
ID | State  | Lvl | Version        | Name                                       
     
-------------------------------------------------------------------------------------
14 | Active |  80 | 1.1.0          | Apache Aries JMX Blueprint API             
     
15 | Active |  80 | 1.1.0          | Apache Aries JMX Blueprint Core            
     
21 | Active |  80 | 4.0.0.SNAPSHOT | Apache Karaf :: Bundle :: 
BlueprintStateService 
24 | Active |  80 | 4.0.0.SNAPSHOT | Apache Karaf :: Deployer :: Blueprint      
     
26 | Active |  80 | 4.0.0.SNAPSHOT | Apache Karaf :: Deployer :: Karaf Archive 
(.kar)
31 | Active |  80 | 4.0.0.SNAPSHOT | Apache Karaf :: JAAS :: Blueprint :: 
Config     
48 | Active |  67 | 1.1.1          | geronimo-jta_1.1_spec                      
     
49 | Active |  67 | 1.0.1          | geronimo-el_1.0_spec                       
     
50 | Active |  67 | 1.2            | geronimo-servlet_2.5_spec    
{code}

> Add flag "-bl Bundle-Level" to install command to set Bundle-Level during 
> bundle installation.
> ----------------------------------------------------------------------------------------------
>
>                 Key: KARAF-2915
>                 URL: https://issues.apache.org/jira/browse/KARAF-2915
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>    Affects Versions: 3.0.1, 2.3.5
>         Environment: Add flag "-bl Bundle-Level" to install command to set 
> Bundle-Level during bundle installation.
>            Reporter: Jamie goodyear
>            Assignee: Jonathan Anstey
>             Fix For: 4.0.0
>
>
> Add flag "-bl Bundle-Level" to install command to set Bundle-Level during 
> bundle installation.
> Example invocation:
> {code}
> karaf@root()> install -bl 65 mvn:org.slf4j/slf4j-api/1.7.2
> BundleID 188
> karaf@root()> bundle:list 
> START LEVEL 100 , List Threshold: 50
> ID | State | Lvl | Version | Name
> ---------------------------------
> 188 | Installed    |  65 | 1.7.2 |  SLF4J API 
> karaf@root()> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to