Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-21285

[camel-jbang] Error exporting from different directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.9.0
    • 4.9.0
    • camel-jbang
    • None
    • Unknown

    Description

      While working on some strengthening export test to validate the output I bumped into this bug:

      camel export tmp/test.yaml --runtime quarkus --gav o:a:1.0.0 --dir ceq
      

      would produce a wrong export as it correctly set the route into src/main/resources/camel but it wrongly set the application.properties with camel.main.routes-include-pattern=camel/tmp/test.yaml

      The result is an application that fails to execute.

      The same problem happens with Java which are distributed to a different folder and a different application properties configuration.

      Attachments

        Activity

          People

            squakez Pasquale Congiusti
            squakez Pasquale Congiusti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: