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

Andrew Bradnan andrew.bradnan at gmail.com
Fri Aug 7 10:10:08 PDT 2009


There's a -make option to do what you want.

On Thu, Aug 6, 2009 at 7:02 PM, Andrew Chalmers <everfall at hotmail.com>wrote:

> 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?
>
> ------------------------------
> Click Here View photos of singles in your area<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>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>


-- 
/Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090807/2cf96162/attachment.html 


More information about the antlr-interest mailing list