felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r827996 - /felix/trunk/karaf/deployer/features/src/main/java/org/apache/felix/karaf/deployer/features/FeatureDeploymentListener.java
Date Wed, 21 Oct 2009 12:56:19 GMT
Author: gnodet
Date: Wed Oct 21 12:56:19 2009
New Revision: 827996

URL: http://svn.apache.org/viewvc?rev=827996&view=rev
Log:
FELIX-1786: the features deployment listener tracks installed bundles and force their resolution

Modified:
    felix/trunk/karaf/deployer/features/src/main/java/org/apache/felix/karaf/deployer/features/FeatureDeploymentListener.java

Modified: felix/trunk/karaf/deployer/features/src/main/java/org/apache/felix/karaf/deployer/features/FeatureDeploymentListener.java
URL: http://svn.apache.org/viewvc/felix/trunk/karaf/deployer/features/src/main/java/org/apache/felix/karaf/deployer/features/FeatureDeploymentListener.java?rev=827996&r1=827995&r2=827996&view=diff
==============================================================================
--- felix/trunk/karaf/deployer/features/src/main/java/org/apache/felix/karaf/deployer/features/FeatureDeploymentListener.java
(original)
+++ felix/trunk/karaf/deployer/features/src/main/java/org/apache/felix/karaf/deployer/features/FeatureDeploymentListener.java
Wed Oct 21 12:56:19 2009
@@ -117,7 +117,7 @@
     public void bundleChanged(BundleEvent bundleEvent) {
         try {
             Bundle bundle = bundleEvent.getBundle();
-            if (bundleEvent.getType() == BundleEvent.INSTALLED) {
+            if (bundleEvent.getType() == BundleEvent.RESOLVED) {
                 Enumeration featuresUrlEnumeration = bundle.findEntries("/META-INF/" + FEATURE_PATH
+ "/", "*.xml", false);
                 while (featuresUrlEnumeration != null && featuresUrlEnumeration.hasMoreElements())
{
                     URL url = (URL) featuresUrlEnumeration.nextElement();



Mime
View raw message