[antlr-interest] VS 2008 build setup - Antlr is called unnecessarily when grammar.g hasn't changed

Andrew Chalmers everfall at hotmail.com
Thu Aug 6 19:02:21 PDT 2009


I followed the instructions here (http://www.antlr.org/wiki/display/ANTLR3/Integration+with+Development+Environments).

 

My grammar.g has two child (dependent) items, blahLexer.cs and blahParser.cs. When I build my solution, Antlr is called, and correctly rebuilds the lexer and parser, which is great.

 

My problem is that Antlr is called _every_ time I run a build, even when the two dependent items (lexer and parser.cs) are up-to-date wrt the grammar definition.

 

Anyone know how to instruct msbuild (or even Antlr; I'm not picky!) to skip the rebuild of lexer and parser when they're already up-to-date?

_________________________________________________________________
View photos of singles in your area Click Here
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fsearch%2Fsearch%2Easpx%3Fexec%3Dgo%26tp%3Dq%26gc%3D2%26tr%3D1%26lage%3D18%26uage%3D55%26cl%3D14%26sl%3D0%26dist%3D50%26po%3D1%26do%3D2%26trackingid%3D1046138%26r2s%3D1&_t=773166090&_r=Hotmail_Endtext&_m=EXT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090807/c2f78f5b/attachment.html 


More information about the antlr-interest mailing list