geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darrel Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GEODE-2093) generated AbstractRegionEntry subclasses as part of build and do not check them in
Date Thu, 10 Nov 2016 18:39:58 GMT
Darrel Schneider created GEODE-2093:
---------------------------------------

             Summary: generated AbstractRegionEntry subclasses as part of build and do not
check them in
                 Key: GEODE-2093
                 URL: https://issues.apache.org/jira/browse/GEODE-2093
             Project: Geode
          Issue Type: Improvement
          Components: build
            Reporter: Darrel Schneider


Currently a large number of leaf subclasses of AbstractRegionEntry are generated manually
by running a script. The generated source is under source control instead of being transient.
A C preprocessor file is used to describe how to generate the files.

It might be better to do this generation as part of the build instead of it being a manual
step.
It might be better for the generated source to be transient instead of under source control.
A better, Java based way, may exist to deal with this instead of using the C preprocessor.

One of the things to keep in mind would be how we would debug issues with this code and how
will the IDEs support working with the code. Having the generated source checked in helps
in both these areas but also can lead to developers directly modifying the generated source
and not updating the cpp file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message