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

Work on CAMEL-21668 started by Marco Carletti.
----------------------------------------------
> camel-jbang: error on running transform command if ~/.camel folder doesn't 
> exist
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-21668
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21668
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.10.0
>            Reporter: Marco Carletti
>            Assignee: Marco Carletti
>            Priority: Minor
>             Fix For: 4.10.0
>
>         Attachments: data.xml, transform.xml
>
>
> # make sure the folder ~/.camel doesn't exists
>  # copy attached data.xml and transform.xml files
>  # install current jbang snapshot version: jbang app install --name=camel-dev 
> -Dcamel.jbang.version=4.10.0-SNAPSHOT 
> -Dcamel-kamelets.version=4.10.0-SNAPSHOT camel@apache/camel/main
>  # run: camel-dev transform message --body=[file:./data.xml|file:///data.xml] 
> --component=xslt --template=[file:./transform.xml|file:///transform.xml] 
> --pretty
> the error will be
> {code:none}
> $ camel-dev transform message --body=file:./data.xml --component=xslt 
> --template=file:./transform.xml --pretty
> [jbang] Resolving dependencies...
> [jbang]    org.apache.camel:camel-bom:4.10.0-SNAPSHOT@pom
> [jbang]    org.apache.camel:camel-jbang-core:4.10.0-SNAPSHOT
> [jbang]    org.apache.camel.kamelets:camel-kamelets:4.10.0-SNAPSHOT
> [jbang] Dependencies resolved
> java.io.IOException: Cannot run program "camel":[home 
> path]/.camel/5261343378787816215-run.log (No such file or directory)
> {code}
> the same command works with Camel Jbang 4.9.0



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to