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

Guillaume Nodet commented on CAMEL-26497:
-----------------------------------------

Fixed via PR https://github.com/apache/camel/pull/29148 on {{camel-4.18.x}}.

Root cause: the {{SftpConsumerJailStartingDirectorySymlinkIT}} test (backported 
from CAMEL-25886) creates dangling symlinks under {{camel-ftp/target/ftp/...}}. 
The {{symlink:json:others}} Gulp task uses a broad glob 
({{../components/{*,*/*,*/*/*}/src/generated/resources/*.json}}) that traverses 
into {{target/}} during expansion; calling {{stat()}} on a dangling symlink 
there causes {{ENOENT}}.

Fix: added {{'!../components/**/target/**'}} as a negative glob exclusion to 
the {{others.json.source}} array in {{docs/gulpfile.js}}.

> 4.18.x build is broken "no such file or directory" with yarn-gulp
> -----------------------------------------------------------------
>
>                 Key: CAMEL-26497
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26497
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 4.18.6
>            Reporter: Aurélien Pupier
>            Assignee: Guillaume Nodet
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to