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

Robert Munteanu commented on SLING-2651:
----------------------------------------

The Export wizard incorrectly tries to sync some .content.xml files as proper 
resources. I probably missed porting some logic from the 
SlingLaunchpadBehaviour . The reported error is

{code}[May 15, 2014 12:44:00 AM EEST] AddOrUpdateNodeCommand -> 
/apps/sling/servlet/default/acl.html.esp : JcrResult[ success:false, exception: 
org.apache.sling.ide.transport.RepositoryException - 
java.io.FileNotFoundException: 
/home/ADOBENET/rmuntean/w/runtime-sling-ide-tooling/content/jcr_root/apps/sling/servlet/default/acl.html.esp.dir
 (Is a directory)] (23 ms)
org.apache.sling.ide.transport.RepositoryException: 
java.io.FileNotFoundException: 
/home/ADOBENET/rmuntean/w/runtime-sling-ide-tooling/content/jcr_root/apps/sling/servlet/default/acl.html.esp.dir
 (Is a directory)
        at org.apache.sling.ide.impl.vlt.JcrResult.failure(JcrResult.java:33)
        at org.apache.sling.ide.impl.vlt.JcrCommand.execute(JcrCommand.java:64)
        at 
org.apache.sling.ide.transport.TracingCommand.execute(TracingCommand.java:43)
        at 
org.apache.sling.ide.eclipse.ui.internal.ExportWizard$1$2.visit(ExportWizard.java:88)
        at 
org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:126)
        at 
org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:85)
        at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
        at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
        at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
        at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
        at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
        at 
org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
        at 
org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
        at org.eclipse.core.internal.resources.Resource.accept(Resource.java:95)
        at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
        at 
org.eclipse.core.internal.resources.Resource.accept(Resource.java:124)
        at 
org.eclipse.core.internal.resources.Resource.accept(Resource.java:108)
        at 
org.apache.sling.ide.eclipse.ui.internal.ExportWizard$1.run(ExportWizard.java:80)
        at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.io.FileNotFoundException: 
/home/ADOBENET/rmuntean/w/runtime-sling-ide-tooling/content/jcr_root/apps/sling/servlet/default/acl.html.esp.dir
 (Is a directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at 
org.apache.sling.ide.impl.vlt.AddOrUpdateNodeCommand.updateFileLikeNodeTypes(AddOrUpdateNodeCommand.java:411)
        at 
org.apache.sling.ide.impl.vlt.AddOrUpdateNodeCommand.updateNode(AddOrUpdateNodeCommand.java:226)
        at 
org.apache.sling.ide.impl.vlt.AddOrUpdateNodeCommand.update(AddOrUpdateNodeCommand.java:98)
        at 
org.apache.sling.ide.impl.vlt.AddOrUpdateNodeCommand.execute0(AddOrUpdateNodeCommand.java:81)
        at 
org.apache.sling.ide.impl.vlt.AddOrUpdateNodeCommand.execute0(AddOrUpdateNodeCommand.java:1)
        at org.apache.sling.ide.impl.vlt.JcrCommand.execute(JcrCommand.java:54)
        ... 17 more
{code}

> Manually trigger sync on files/directories
> ------------------------------------------
>
>                 Key: SLING-2651
>                 URL: https://issues.apache.org/jira/browse/SLING-2651
>             Project: Sling
>          Issue Type: Improvement
>          Components: IDE
>            Reporter: Antonio Sanso
>            Assignee: Robert Munteanu
>             Fix For: Sling Eclipse IDE 1.0.0
>
>
> We should be able to manually publish a subtree of content, as opposed to the 
> sync happening in the background. One use case is where the auto-sync is 
> disabled and the user only wants to publish the changes manually.



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

Reply via email to