cgen into the future

Aristedes Maniatis <[email protected]>
Newsgroups gmane.comp.java.cayenne.devel
Message-ID <[email protected]>

On 10/10/21 5:42pm, Andrus Adamchik wrote:
> A bit OT... Before 4.1 all my projects used cgen and most - cdbimport. Not anymore. Things went full circle and Modeler has become the only way to sync up project with the DB. DataMap XML file now stores all the settings of the c* tasks. So now I came to realization that putting those same settings in your build file (Ant/Maven/Gradle) was simply a hack that allowed to share and version-control task configs. It is not needed anymore.
>
> While I'll expect pushback on this:)  , may I suggest to deprecate the tools in 5.0, and remove them in 5.1.

Can you explain a bit more? We don't store generated superclasses in 
version control since that's confusing and redundant. [1]  This is 
similar to how we don't store swagger generated classes in version 
control for the server side API implementation.


Ari


[1] https://github.com/ishgroup/oncourse/blob/main/server/build.gradle#L335
[2] 
https://github.com/ishgroup/oncourse/blob/main/server-api/build.gradle#L62
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.