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

Default class generation folder is wrong

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0M5
    • 3.0M6, 3.0
    • Core Library
    • None

    Description

      Default class generation folder in the modeler (Tools > Generate Classes > Output directory) is selected to be the folder where cayenne.xml is stored. If a user changes it, it is not saved in user preferences, so on the next attempt to generate classes the old folder is shown.

      Another related improvement: In a project that has Maven folder layout, cayenne.xml is often is src/main/resources. In this case we must select a default folder ot be src/mainjava (for "src/test/resources" it should be src/test/java). I.e. we should be smarter when we are dealing with predictable maven structures.

      Attachments

        1. TruePath.txt
          2 kB
          dzmitar

        Activity

          People

            ongakugainochi Robert Zeigler
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: