Default class generation folder is wrong
----------------------------------------

                 Key: CAY-1181
                 URL: https://issues.apache.org/cayenne/browse/CAY-1181
             Project: Cayenne
          Issue Type: Improvement
          Components: Cayenne Core Library
    Affects Versions: 3.0M5
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to