You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/07/11 11:55:00 UTC

[jira] [Updated] (KARAF-491) A war bundle and the war feature can't be installed as parts of a single feature.

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

Jean-Baptiste Onofré updated KARAF-491:
---------------------------------------

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