[
https://issues.apache.org/jira/browse/KARAF-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved KARAF-491.
-----------------------------------
Resolution: Fixed
Assignee: Guillaume Nodet
> A war bundle and the war feature can't be installed as parts of a single
> feature.
> ---------------------------------------------------------------------------------
>
> Key: KARAF-491
> URL: https://issues.apache.org/jira/browse/KARAF-491
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-core
> Reporter: Ioannis Canellos
> Assignee: Guillaume Nodet
> Fix For: 4.0.0
>
>
> If a feature contains a bundle that requires the war protocol then the war
> feature needs to be preinstalled.
> If the user adds the war feature as a feature dependency it does not work.
> Example:
> <features>
> <repository>mvn:org.apache.karaf/apache-karaf/${karaf.version}/xml/features</repository>
> <feature "yetanotherfeature">
> <feature>war</feature>
> <bundle>war:net.iocanel/webapp/1.0/war</bundle>
> </feature>
> </features>
> The error I get is Unknown protocol: war.
--
This message was sent by Atlassian JIRA
(v6.2#6252)