sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stefane...@apache.org
Subject svn commit: r1589655 - /sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/SlingLaunchpadBehaviour.java
Date Thu, 24 Apr 2014 09:59:41 GMT
Author: stefanegli
Date: Thu Apr 24 09:59:40 2014
New Revision: 1589655

URL: http://svn.apache.org/r1589655
Log:
SLING-3514 : do not publish anything if deltaKind is NO_CHANGE - to avoid unnecessary publish
actions

Modified:
    sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/SlingLaunchpadBehaviour.java

Modified: sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/SlingLaunchpadBehaviour.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/SlingLaunchpadBehaviour.java?rev=1589655&r1=1589654&r2=1589655&view=diff
==============================================================================
--- sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/SlingLaunchpadBehaviour.java
(original)
+++ sling/trunk/tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/SlingLaunchpadBehaviour.java
Thu Apr 24 09:59:40 2014
@@ -204,6 +204,12 @@ public class SlingLaunchpadBehaviour ext
 
         System.out.println(trace.toString());
 
+        if (deltaKind==ServerBehaviourDelegate.NO_CHANGE) {
+            // then there's no need to publish
+            //int modulePublishState = getServer().getModulePublishState(module);
+            return;
+        }
+        
         if (kind == IServer.PUBLISH_FULL && deltaKind == ServerBehaviourDelegate.REMOVED)
{
             System.out.println("Ignoring request to unpublish all of the module resources");
             return;



Mime
View raw message