[ 
https://issues.apache.org/jira/browse/CAMEL-21104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882363#comment-17882363
 ] 

Claus Ibsen commented on CAMEL-21104:
-------------------------------------

Ah okay so you are not really intended to export to current dir.

And if you do, then yeah we could have a `–clean` flag or something so when the 
export is finishing it can clean the target dir first

> camel-jbang - Delete used files when creating a Camel project "in-place" with 
> Camel JBang 
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-21104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21104
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Aurélien Pupier
>            Priority: Minor
>
> currently when creating a Camel project , the used files are copied to th 
> enew project;
> When it is exported to another folder that sounds fine but when creating 
> in-place, the files sounds as duplicated.
> it will facilitate this important use case:
> - create standalone camel file(s)
> - push them on a git repository
> - evolve these routes
> - migrate to a Maven project and stay in the same repository



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

Reply via email to