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

Claus Ibsen updated CAMEL-21124:
--------------------------------
    Fix Version/s: 4.8.0

> camel-jbang - unable to load properties from application.properties
> -------------------------------------------------------------------
>
>                 Key: CAMEL-21124
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21124
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.7.0
>         Environment: {code:java}
> $ camel version
> JBang version: 0.117.1
> Camel JBang version: 4.7.0
> {code}
>            Reporter: Marco Carletti
>            Priority: Major
>              Labels: regression
>             Fix For: 4.8.0
>
>
> As 
> [documented|https://camel.apache.org/manual/camel-jbang.html#_configuring_exporting],
>  the properties can be loaded from the *application.properties* file
> In the current version, it is not possible anymore. Downgrading the Camel 
> JBang version to 4.6.0 it works
> Steps to reproduce (to be executed in an empty folder):
> {code:bash}
> echo camel.jbang.runtime=spring-boot >> application.properties
> echo camel.jbang.gav=example:petstore:1.0-SNAPSHOT >> application.properties
> echo camel.jbang.exportDir=app >> application.properties
> echo camel.jbang.open-api=petstore-v3.json >> application.properties
> wget 
> https://raw.githubusercontent.com/apache/camel-kamelets-examples/main/jbang/open-api-contract-first/petstore-v3.json
> camel export
> {code}
> expected message:
> {code:bash}
> ...
> Exporting as Spring Boot project to: app
> {code}
> current message:
> {code:bash}
> The runtime option must be specified
> {code}



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

Reply via email to