[antlr-interest] MSBUILD/Vs2008

Gavin Lambert antlr at mirality.co.nz
Thu Oct 8 12:23:04 PDT 2009


At 12:20 8/10/2009, Sam Harwell wrote:
>·         Create a working Clean target (which 
>carries over to Rebuild). For this to work with 
>source control, I need to make sure that:
>o   The generated code files are not written to 
>disk if their contents haven’t changed.
>o   The same source file always generates the 
>same output file, which means removing relative 
>paths and timestamps from the comments.

Or, you know, you could just exclude the 
generated files from source control.  Provided 
that all developers have access to ANTLR (and can 
thus rebuild it) -- which they'd need anyway if 
it's integrated into the project like this -- 
then there's no need for the generated files to 
be in source control.  They can just be 
regenerated whenever required.



More information about the antlr-interest mailing list