karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-2900) Allow generic requirements as condition to features
Date Fri, 11 Apr 2014 17:22:17 GMT

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

Guillaume Nodet resolved KARAF-2900.
------------------------------------

    Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commit;h=f2669e1d709da292b679307f523a771769129e8b

> Allow generic requirements as condition to features
> ---------------------------------------------------
>
>                 Key: KARAF-2900
>                 URL: https://issues.apache.org/jira/browse/KARAF-2900
>             Project: Karaf
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 4.0.0
>
>
> The idea is to allow not only feature dependencies, but other kind of requirements.
> The conditional below would install mina-core on JDK < 1.7:
> {code}
>         <conditional>
>             <condition>req:osgi.ee;filter:="(&amp;(osgi.ee=JavaSE)(!(version>=1.7)))"</condition>
>             <bundle start="true" start-level="30">mvn:org.apache.mina/mina-core/${mina.version}</bundle>
>         </conditional>
> {code}



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

Mime
View raw message