[
https://issues.apache.org/jira/browse/CAMEL-21285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885319#comment-17885319
]
Claus Ibsen commented on CAMEL-21285:
-------------------------------------
It was not intended to export from any arbitrary folder, but to export from
current folder. (or what was run previously).
Its just getting a bit more and more "messy" with all these relative / absolute
paths.
> [camel-jbang] Error exporting from different directory
> -------------------------------------------------------
>
> Key: CAMEL-21285
> URL: https://issues.apache.org/jira/browse/CAMEL-21285
> Project: Camel
> Issue Type: Bug
> Affects Versions: 4.9.0
> Reporter: Pasquale Congiusti
> Assignee: Pasquale Congiusti
> Priority: Minor
> Fix For: 4.9.0
>
>
> While working on some strengthening export test to validate the output I
> bumped into this bug:
> {code}
> camel export tmp/test.yaml --runtime quarkus --gav o:a:1.0.0 --dir ceq
> {code}
> would produce a wrong export as it correctly set the route into
> src/main/resources/camel but it wrongly set the application.properties with
> camel.main.routes-include-pattern=camel/tmp/test.yaml
> The result is an application that fails to execute.
> The same problem happens with Java which are distributed to a different
> folder and a different application properties configuration.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)