You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2010/09/14 16:27:15 UTC
svn commit: r996916 -
/sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerImpl.java
Author: cziegeler
Date: Tue Sep 14 14:27:15 2010
New Revision: 996916
URL: http://svn.apache.org/viewvc?rev=996916&view=rev
Log:
And clean them up
Modified:
sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerImpl.java
Modified: sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerImpl.java?rev=996916&r1=996915&r2=996916&view=diff
==============================================================================
--- sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerImpl.java (original)
+++ sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/OsgiInstallerImpl.java Tue Sep 14 14:27:15 2010
@@ -205,6 +205,7 @@ public class OsgiInstallerImpl
logger.debug("Adding new resource {}", rr);
} else {
logger.debug("Ignoring unsupported resource type {} of resource {}", rt, rr);
+ rr.cleanup();
}
} catch (final IOException ioe) {
logger.warn("Cannot create RegisteredResource (resource will be ignored):" + r, ioe);