[antlr-interest] AntlrWorks Problems

Terence Parr parrt at cs.usfca.edu
Sat Aug 6 09:57:57 PDT 2011


Hi Klaus, well, AW is not a build system. I use it in conjunction with Intellij.
Terence
On Aug 6, 2011, at 1:51 AM, Klaus Martinschitz wrote:

> Hello,
> 
> I am new to Antlr and AntlrWorks but I must say that AntlrWorks drives 
> me crazy. Perhaps someone can explain a very simple question to me.
> I generate a grammar and compile it. I want AntlrWorks to save it in a 
> src directory (indeed it is the src directory of a Netbeans project). 
> This works. I define the save path in the
> 
> Properties-->General-->Output path field.
> 
> Now, if I want to debug the files, they have to be compiled. I assume 
> AntlWroks to use javac to compile them. This also seems to work. The 
> javac path is written to
> 
> Properties-->Compiler-->javac-->path
> 
> Then something happens I can not understand. there is a classes 
> directory build within my output. It is not very nice that I can not 
> specifiy where the class files are generated but OK, this is ugly but 
> ok. The problem is, that AntlrWorks seems not to be able to connect to 
> the class files. Of, course I have set the classpath custom option
> 
> Properties-->Compiler-->classpath-->custom
> 
> to the classes directory build. I get the errot message
> 
> Compiler failed with result code 1
> 
> How do you manage generated class objects, perhaps even in Netbeans, if 
> you use them?
> 
> Thanks.
> 
> Regards,
> Equi
> 
> 
> 
> 
> 
> 
> 
> 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