Pasquale Congiusti created CAMEL-27543:
------------------------------------------

             Summary: [camel-jbang] export should fail when trying to run an 
empty directory
                 Key: CAMEL-27543
                 URL: https://issues.apache.org/jira/browse/CAMEL-27543
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 4.23.0
            Reporter: Pasquale Congiusti
            Assignee: Pasquale Congiusti
             Fix For: 4.24.0


When a folder does not contain any file, the export proceed normally. Consider 
the following where xyz directory is empty:
{code:java}
camel export xyz/* --dir . --runtime main
Generating fresh run data
Exporting as Camel Main project to: .
Project export successful!{code}
I propose to enhance the export which should fail when there is no route in the 
directory.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to