My feature file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<features name="my-feature-repo">


        <feature name="sharedTypes">
                <bundle>file:../../libs/sharedTypes-0.1.jar</bundle>
        </feature>
        <feature name="my-feature1">
                <bundle>file:../../libs/my-feature1-0.1.jar</bundle>
                <feature>sharedTypes</feature>
        </feature>
        <feature name="my-feature2">
                <bundle>file:../../libs/my-feature2-0.1.jar</bundle>
                <feature>sharedTypes</feature>
        </feature>
</features>

When I install all contained features: sharedTypes, my-feature1,
my-feature2, karaf keeps reinstalling sharedTypes for my-feature1 and
my-feature2, even though it should already be installed.

As a result, the installation processes is very slow and takes several
minutes (I actually have a lot more features which are dependent on each
other, this is just a basic sample).

I use Karaf 3.0.1, is there a workaround to only install the features that
are not installed yet? Is it somehow related to plain file urls? 



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-keeps-reinstalling-dependent-features-tp4034935.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to