Skip to content

Commit 24314bc

Browse files
authored
Fix docs gulp race condition with dsl target directories
Replace `**` glob pattern in gulpfile.js with explicit depth patterns using `!(target)` extglob to prevent scanning into target/ directories during parallel builds (e.g. with mvnd). Closes #22292
1 parent 5181a3f commit 24314bc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ const sources = {
206206
'../core/camel-base/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
207207
'../core/camel-main/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
208208
'../components/{*,*/*}/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
209-
'../dsl/**/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
209+
'../dsl/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
210+
'../dsl/{*,*/!(target)}/src/main/docs/!(*-component|*-language|*-dataformat|*-summary).adoc',
210211
],
211212
destination: 'components/modules/others/pages',
212213
keep: [

0 commit comments

Comments
 (0)