You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Cameron Fitzwater (Jira)" <ji...@apache.org> on 2025/11/07 14:47:00 UTC
[jira] [Commented] (CAMEL-22673) camel-jbang deps not working with multiple --properties files
[ https://issues.apache.org/jira/browse/CAMEL-22673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18036251#comment-18036251 ]
Cameron Fitzwater commented on CAMEL-22673:
-------------------------------------------
Interesting enough, if I change the filename from `application-local.properties` to `application-dev.properties`, then it does run with:
{code:java}
camel run * --properties=application-dev.properties,application.properties
{code}
> camel-jbang deps not working with multiple --properties files
> -------------------------------------------------------------
>
> Key: CAMEL-22673
> URL: https://issues.apache.org/jira/browse/CAMEL-22673
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Reporter: Cameron Fitzwater
> Priority: Minor
>
> If you have multiple application.properties files:
> * application.properties >> this one might contain normal defaults
> * application-local.properties >> this one might contain local enviro-specific things
> And your applicaiton-local.properties file contains a dependency:
> camel.jbang.dependencies=org.apache.cxf:cxf-rt-transports-http-jetty:4.1.3
>
> When running with multiple properties...
> camel run * --properties=application-local.properties,application.properties
>
> ... the dependency does not appear to be getting picked up. Other than the dependency, it appears all other properties are picked up correctly.
>
> Note: If I put all settings into the application-local.properties file and run it by itself, it is picked up.
> camel run * --properties=application-local.properties
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)