On Dec 14, 2009, at 11:38 PM, Sean Owen wrote:

> I think both are desirable. Check in the generator and also the
> generated code. It just keeps it simple.

+1.  This is what Lucene does w/ the QueryParser (JavaCC) and the Ant script 
detects when the two are out of sync and then regenerates.

> 
> On Tue, Dec 15, 2009 at 1:43 AM, Benson Margulies <[email protected]> 
> wrote:
>> The idea here is that the templates are checked in. The build process
>> goes template-to-java and then compiles the java. In other words, the
>> java classes are not checked in and editable.
>> 
>> If this is not acceptable, I'll just manually create all the classes.
>> It's just easier to keep them in sync if there's one source instead of
>> 16 to edit. (The presumption here is that all of 16 classes
>> {Byte,Char,Int,Long}x{Byte,Int,Char,Long} are really identical except
>> for the data types).


Reply via email to