[ 
https://issues.apache.org/jira/browse/KARAF-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001700#comment-13001700
 ] 

Ioannis Canellos commented on KARAF-491:
----------------------------------------

@Achim:  I am not sure which is the proper protocol for wars (war is working 
find as long as the war feature is already installed).
In any case using webbundle still fails on karaf 2.2.0.

> 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
>            Reporter: Ioannis Canellos
>
> 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 is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to