Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0M5
-
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.