incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1207888 - /sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java
Date Tue, 29 Nov 2011 14:45:03 GMT
Author: cziegeler
Date: Tue Nov 29 14:45:02 2011
New Revision: 1207888

URL: http://svn.apache.org/viewvc?rev=1207888&view=rev
Log:
SLING-2290 : Updating a fragment with a different version but the same content does not work

Modified:
    sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java

Modified: sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java?rev=1207888&r1=1207887&r2=1207888&view=diff
==============================================================================
--- sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java
(original)
+++ sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java
Tue Nov 29 14:45:02 2011
@@ -104,6 +104,7 @@ public class BundleUpdateTask extends Ab
                 } else {
                     this.getResource().setAttribute(BundleTaskCreator.ATTR_START, "true");
                     ctx.addTaskToCurrentCycle(new BundleStartTask(this.getResourceGroup(),
b.getBundleId(), this.getCreator()));
+                    ctx.addTaskToCurrentCycle(new SynchronousRefreshPackagesTask(this.getCreator()));
                 }
             } else {
                 this.setFinishedState(ResourceState.INSTALLED);



Mime
View raw message