You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2014/05/20 16:44:37 UTC

[jira] [Commented] (SLING-3587) Publish not triggered by WST on folder creation

    [ https://issues.apache.org/jira/browse/SLING-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14003384#comment-14003384 ] 

Stefan Egli commented on SLING-3587:
------------------------------------

As a workaround, introduced ServerUtil.triggerIncrementalBuild - this can be explicitly triggered wherever a fit is seen. Eg when a new node is created, this can be used to 'force' a publish

> Publish not triggered by WST on folder creation
> -----------------------------------------------
>
>                 Key: SLING-3587
>                 URL: https://issues.apache.org/jira/browse/SLING-3587
>             Project: Sling
>          Issue Type: Improvement
>          Components: IDE
>            Reporter: Stefan Egli
>             Fix For: Sling Eclipse IDE 1.0.0
>
>
> When you create a folder in a directory that is hooked up to a (WST)server, the corresponding publish mechanism doesn't get triggered.
> The core issue seems to be a WST-bug IMHO: the org.eclipse.wst.server.core.internal.ResourceManager.getPublishRequiredServers's IResourceDeltaVisitor.visit() only returns true if anything related to an IFile has changed. If a folder has changed, it will navigate down to that folder, but won't necessarily find anything changed below there and thus ignore the change.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)