[antlr-interest] Q: ANTLRWorks code generation error

Jim Idle jimi at temporal-wave.com
Tue Oct 7 07:19:58 PDT 2008


On Tue, 2008-10-07 at 14:20 +0200, Mr. Armin Nievergelt wrote:

> Hi all,
> 
> I works since ANTLR 3.0 with ANTLRWorks. I am a little confused
> that all versions before 1.2 and 1.2.1 works very well, but i cannot 
> generate
> code with the new versions of ANTLRWorks. I see the following message.
> Next i have tested the code generation from the command line and with 
> Netbeans.
> Both is ok, so i think the classpath is ok.
> 
> Can anyone help me?
> 
> Best regards
> 
> Armin
> 
> 
> 
> [12:30:11] error(1):  cannot write file Java.tokens: 
> java.io.FileNotFoundException: 
> J:\Sun\netbeans-5.5.1-bluej\nbproject\java\src\J:\Sun\netbeans-5.5.1-bluej\nbproject\java\src\JavaParser.java 


Check your preferences - something does not look quite right wiht that
path :-) (but it coudl be the error message), and make sure that you
have write access to J:\Sun\netbeans-5.5.1-bluej\nbproject\java\src
\JavaParser.java 

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081007/3a07c62c/attachment.html 


More information about the antlr-interest mailing list