[
https://issues.apache.org/jira/browse/CAMEL-24378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18103494#comment-18103494
]
Cameron Fitzwater commented on CAMEL-24378:
-------------------------------------------
How are camel.yaml files be picked-up when moved outside of base
/src/main/resources/camel? Does it look recursively?
e.g. /src/main/resources/camel/a/new/path/route.camel.yaml
> retain directory structure
> --------------------------
>
> Key: CAMEL-24378
> URL: https://issues.apache.org/jira/browse/CAMEL-24378
> Project: Camel
> Issue Type: New Feature
> Reporter: Cameron Fitzwater
> Priority: Major
>
> When utilizing camel cli, it would be beneficial if the directory path
> structure could be retained upon export.
> Currently, when running `camel export ... routes/to/file-a.camel.yaml`, the
> base files are placed directly in /src/main/resources/camel.
> This is fine for one or two files, but as it scales, keeping some level of
> structure is very helpful.
> The idea would be to retain the files with their entire dir structure, maybe
> by use of a new flag.
> _The one thing to account for is when relative paths are used, and how to
> handle that scenario (specifically, anything ../ bound). Potentially, by use
> of the new flag, it does not allow relative paths?_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)