Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2334

cgen: option to force run from maven/gradle

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.M1
    • Fix Version/s: 4.1.M2
    • Component/s: Non-GUI Tools
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ntimofeev Nikita Timofeev
              Reporter:
              ntimofeev Nikita Timofeev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: