Nikita Timofeev created CAY-2334:
------------------------------------
Summary: cgen: option to force run from manev/gradle
Key: CAY-2334
URL: https://issues.apache.org/jira/browse/CAY-2334
Project: Cayenne
Issue Type: Improvement
Components: Non-GUI Tools
Affects Versions: 4.1.M1
Reporter: Nikita Timofeev
Assignee: Nikita Timofeev
Fix For: 4.1.M1
Currently {{cgen}} checks file modification and skips class generation
completely if data map file hasn't changed. This can lead to minor annoyance
in case you need to generate new classes when templates changed (or whatever
reason user might have), plus there can be some bugs in this mechanics.
Additionally this behavior should be mentioned in docs.
Offered change is as simple as adding new option in {{cgen}} config that forces
complete java code regeneration.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)