[
https://issues.apache.org/jira/browse/CAMEL-19780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758015#comment-17758015
]
Claus Ibsen commented on CAMEL-19780:
-------------------------------------
What do you mean? Is it because the file is "relative" by using DOT SLASH xxx,
eg ./myfile.yaml
Also try with only Camel 4.0.0
> Camel JBang does not support relative paths
> -------------------------------------------
>
> Key: CAMEL-19780
> URL: https://issues.apache.org/jira/browse/CAMEL-19780
> Project: Camel
> Issue Type: Bug
> Reporter: Ricardo Martinez
> Priority: Minor
>
> When trying to execute a file through JBang, it doesn't recognize relative
> paths.
> For instance, the following commands don't work:
> {code:java}
> jbang -Dcamel.jbang.version=3.21.0 camel@apache/camel run
> ./rest-dsl.camel.yaml
> camel init /tmp/Test.java{code}
> In contrast, the following works:
> {code:java}
> jbang -Dcamel.jbang.version=3.21.0 camel@apache/camel run
> rest-dsl.camel.yaml{code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)