You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/10/02 20:27:23 UTC

[jira] Created: (FELIX-1689) When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies

When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies
-----------------------------------------------------------------------------------------------------------

                 Key: FELIX-1689
                 URL: https://issues.apache.org/jira/browse/FELIX-1689
             Project: Felix
          Issue Type: Improvement
          Components: Karaf
            Reporter: Guillaume Nodet




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1689) When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765521#action_12765521 ] 

Guillaume Nodet commented on FELIX-1689:
----------------------------------------

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	karaf/deployer/features/src/main/java/org/apache/felix/karaf/deployer/features/FeatureDeploymentListener.java
	M	karaf/deployer/features/src/main/resources/OSGI-INF/blueprint/features-deployer.xml
	M	karaf/features/core/src/main/java/org/apache/felix/karaf/features/FeaturesService.java
Committed r825092


Improve the features deployer to leverage batch installation too

> When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1689
>                 URL: https://issues.apache.org/jira/browse/FELIX-1689
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.0.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (FELIX-1689) When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-1689 started by Guillaume Nodet.

> When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1689
>                 URL: https://issues.apache.org/jira/browse/FELIX-1689
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1689) When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765445#action_12765445 ] 

Guillaume Nodet commented on FELIX-1689:
----------------------------------------

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	karaf/features/core/src/main/java/org/apache/felix/karaf/features/internal/FeaturesServiceImpl.java
Committed r825041


Now using a list instead of a set for bundles to make sure we start them in the correct order.

> When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1689
>                 URL: https://issues.apache.org/jira/browse/FELIX-1689
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.0.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-1689) When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-1689.
------------------------------------

       Resolution: Fixed
    Fix Version/s: karaf-1.0.2

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	karaf/features/command/src/main/java/org/apache/felix/karaf/features/command/InstallFeatureCommand.java
	M	karaf/features/core/src/main/java/org/apache/felix/karaf/features/FeaturesService.java
	M	karaf/features/core/src/main/java/org/apache/felix/karaf/features/internal/FeaturesServiceImpl.java
	A	karaf/features/core/src/main/java/org/apache/felix/karaf/features/internal/HeaderParser.java
	A	karaf/features/core/src/main/java/org/apache/felix/karaf/features/internal/VersionRange.java
	M	karaf/features/core/src/main/resources/OSGI-INF/blueprint/gshell-features.xml
	M	karaf/features/core/src/test/java/org/apache/felix/karaf/features/FeaturesServiceTest.java
Committed r824529

The refresh can be cancel with a flag on the command.
By default, it will refresh all previously installed bundles that are part of the set of bundles listed in the feature that have optional imports that can be solved by some of the newly installed bundles in this feature.

> When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1689
>                 URL: https://issues.apache.org/jira/browse/FELIX-1689
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.0.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-1689) When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned FELIX-1689:
--------------------------------------

    Assignee: Guillaume Nodet

> When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1689
>                 URL: https://issues.apache.org/jira/browse/FELIX-1689
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1689) When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765208#action_12765208 ] 

Guillaume Nodet commented on FELIX-1689:
----------------------------------------

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	karaf/features/core/src/main/java/org/apache/felix/karaf/features/internal/FeaturesServiceImpl.java
Committed r824897

I've update the features service to use a batched installation for the boot features, which greatly reduce the number of refreshes.

> When deploying a feature, we need to refresh some bundles to cope with newly resolved optional dependencies
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1689
>                 URL: https://issues.apache.org/jira/browse/FELIX-1689
>             Project: Felix
>          Issue Type: Improvement
>          Components: Karaf
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.0.2
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.