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