You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/09/18 12:20:00 UTC

[jira] [Resolved] (CAMEL-19780) Camel JBang does not support relative paths

     [ https://issues.apache.org/jira/browse/CAMEL-19780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-19780.
---------------------------------
    Fix Version/s: 3.20.7
                   3.21.1
                   3.22.0
         Assignee: Claus Ibsen
       Resolution: Fixed

We are about to cut new set of patch releases so I took a look and implemented this.



> 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
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.20.7, 3.21.1, 3.22.0, 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)