[ https://issues.apache.org/jira/browse/CAMEL-19780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17758037#comment-17758037 ]
Claus Ibsen commented on CAMEL-19780: ------------------------------------- The same if you do camel run ../beer.yaml > 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 > 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)