Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2581

Class generation doesn't work for directories with spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.B2
    • 4.1
    • None
    • None

    Description

      I am trying this on Cayenne 4.1.B2, but I suspect this may affect the earlier versions as well. Anyways:

      1. I have a maven project in a directory with this wonderful name: "~/Desktop/Cayenne @ A/myproject" (so there are spaces around the "at" sign). The model is under "src/main/resources'
      2. When I try to do class generation (either from the Modeler or from Maven "cgen"), the target directory it assumed had URL encoding on spaces: "~/Desktop/Cayenne%20@%20A/myproject"

      Outcome  - generated classes appeared outside of the project.

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: