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

Marek Budyn updated FELIX-5888:
-------------------------------
    Attachment: javase.patch

> OBR does not properly hanle Bundle-RequiredExecutionEnvironment header
> ----------------------------------------------------------------------
>
>                 Key: FELIX-5888
>                 URL: https://issues.apache.org/jira/browse/FELIX-5888
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-2.0.10
>            Reporter: Marek Budyn
>            Priority: Major
>         Attachments: javase.patch
>
>
> I found this problem while trying to load slf4j using bundlerepository 2.0.10 
> and framework 6.0.0
> SLF4J contains (obsolete I think) manifest entry
> Bundle-RequiredExecutionEnvironment: J2SE-1.5
> which later on translates into (ee=J2SE-1.5) requirement which is not 
> supported by the framework. As far as I have seen in framework resolver, J2SE 
> is on-the-fly translated into JavaSE requireent which is now providedby the 
> framework.
> Not doing so, framework loads these bundles properly (e.g. using fileinstall, 
> but trying to deploy these artifacts using resolver that comes from 
> bundlerepository e.g. using the following procedure 
> {{Resolver resolver = repositoryAdmin.resolver();}}
> {{resolver.addResource(...)}}
> {{resolver.resolve();}}
> {{resolver.deploy(Resolver.START);}}
> fails with missing requirement:
> requires=ee, condition=(|(ee=J2SE-1.5)), E=false, M=false, O=false: Execution 
> Environment (|(ee=J2SE-1.5))
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to