[
https://issues.apache.org/jira/browse/CAMEL-21082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874125#comment-17874125
]
Aurélien Pupier commented on CAMEL-21082:
-----------------------------------------
What is the reason for this behavior?
I cannot imagine a scenario in which it is interesting to have this behavior
when creating a new Camel Route. Can you share some?
> camel-jbang init command is deleting existing routes/files when using --dir
> option
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-21082
> URL: https://issues.apache.org/jira/browse/CAMEL-21082
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 4.7.0
> Reporter: Aurélien Pupier
> Assignee: Aurélien Pupier
> Priority: Major
>
> {noformat}
> jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init
> firstone.camel.yaml --dir=target-folder
> {noformat}
> the firstone.camel.yaml file is created
> {noformat}
> jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init
> secondone.camel.yaml --dir=target-folder
> {noformat}
> the firstone.camel.yaml file is deleted (without warning) and
> secondone.camel.yaml is created
--
This message was sent by Atlassian Jira
(v8.20.10#820010)