[
https://issues.apache.org/jira/browse/CAMEL-19780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758484#comment-17758484
]
Ricardo Martinez commented on CAMEL-19780:
------------------------------------------
Ok, I'll write back when I start working on this, thanks [~davsclaus]
> Camel JBang does not support relative paths
> -------------------------------------------
>
> Key: CAMEL-19780
> URL: https://issues.apache.org/jira/browse/CAMEL-19780
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 3.21.0
> Reporter: Ricardo Martinez
> Priority: Minor
> Fix For: 3.21.1, 4.0.1, 4.1.0
>
>
> 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)