[antlr-interest] ANTLRWorks output path errors

Terence Parr parrt at cs.usfca.edu
Wed Jan 21 10:03:11 PST 2009


weird. what is your pref for output dir look like?
Ter
On Jan 20, 2009, at 11:11 PM, Gavin Lambert wrote:

> I recently tried using ANTLRWorks 1.2.2 (previously I was using
> 1.1.7), but I'm getting errors whenever I tell it to generate the
> code (I'm using Windows):
>
> Check Grammar reported some errors:
> (5): directory not found:
> D:\Programming\antlr\tests\D:\Programming\antlr\AntlrWorks
> Consult the console for more information.
>
> The grammar file I am trying to compile is in
> D:\Programming\antlr\tests; the directory
> D:\Programming\antlr\AntlrWorks is the Output Path set in
> ANTLRWorks' preferences.
>
> If I change the output path to "..\AntlrWorks" and restart
> ANTLRWorks (the change doesn't seem to have any effect until
> ANTLRWorks is restarted) then it will *occasionally* work
> properly, and other times give the same error but with the path
> simply "..\AntlrWorks".
>
> And of course using a relative path fails if I want to compile
> grammars located elsewhere.
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list