Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
4.7.0
-
$ camel version JBang version: 0.117.1 Camel JBang version: 4.7.0
-
Unknown
Description
As documented, 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):
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
expected message:
... Exporting as Spring Boot project to: app
current message:
The runtime option must be specified
Attachments
Issue Links
- duplicates
-
CAMEL-21004 camel-jbang export does not use runtime from application.properties
- Resolved