[
https://issues.apache.org/jira/browse/CAY-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Timofeev updated CAY-2334:
---------------------------------
Labels: feature (was: )
> cgen: option to force run from maven/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
> Priority: Major
> Labels: feature
> Fix For: 4.1.M2
>
>
> 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
(v7.6.3#76005)