You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2018/01/31 14:23:00 UTC

[jira] [Commented] (CAY-2334) cgen: option to force run from maven/gradle

    [ https://issues.apache.org/jira/browse/CAY-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346895#comment-16346895 ] 

Nikita Timofeev commented on CAY-2334:
--------------------------------------

For maven this will be activated by {{<force>true</force>}} or {{-Dforce}}

> 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
>             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)