The path field expects a directory where it can find the javac binary in. Adding flags behind the directory also fails: The debugger fails to initialize and leaves some process running in the background requiring me to kill the process before I can try to run the debugger again.
Any more thoughts? Ben 2011/5/5 Jim Idle <j...@temporal-wave.com> > Have you tried adding it in with the PATH? Also you can use -source 1.6 > -target jsr14 and use 1.6 input and 1.4 output. > > Jim > > > -----Original Message----- > > From: antlr-interest-boun...@antlr.org [mailto:antlr-interest- > > boun...@antlr.org] On Behalf Of Ben Corne > > Sent: Thursday, May 05, 2011 4:58 AM > > To: antlr-interest@antlr.org > > Subject: Re: [antlr-interest] Source code level of ANTLRWorks > > > > Here's a screenshot of my antlrworks preferences page + javac info > > http://igor.rave.org/antlrjavac.png > > > > I don't see the option where to adjust the commandline call. > > And from what I think to understand from the helppage of my javac, it > > says > > 1.4 is the default, but I don't find a way to change this default, > > except by writing a wrapper shell script that attaches -source 1.5 > > (which is what I will do now, until more clues are given) > > > > Ben > > > > 2011/5/4 Jim Idle <j...@temporal-wave.com> > > > > > That just means you are calling a compiler that has a default level > > > less than 1.5. So, chance the javacc command in the preferences or > > > remove the old compiler and install 1.6, or makes sure that 1.6 is > > the > > > first on the command line. ANTLR works does not influence the Java > > > compiler - it only calls the one that you tell it to. > > > > > > Jim > > > > > > > > > > > > > -----Original Message----- > > > > From: antlr-interest-boun...@antlr.org [mailto:antlr-interest- > > > > boun...@antlr.org] On Behalf Of Ben Corne > > > > Sent: Wednesday, May 04, 2011 6:56 AM > > > > To: antlr-interest@antlr.org > > > > Subject: [antlr-interest] Source code level of ANTLRWorks > > > > > > > > Hi > > > > > > > > Is there a way to set the source code level of antlrworks? > > > > I've checked the preferences pane and launchers with no avail. > > > > > > > > I need to set it to > 1.5, since I'm using Java Generics: > > > > > > > > [15:47:58] 102. ERROR in > > > > /home/bcorne/Downloads/at2-parser- > > 3/grammar/output/ATGrammar3Lexer.j > > > > ava (at line 114) [15:47:58] Stack<String> paraphrase = new > > > > Stack<String>(); > > > > [15:47:58] ^^^^^^ > > > > [15:47:58] Syntax error, parameterized types are only available if > > > > source level is 1.5 > > > > > > > > Regards > > > > Ben Corne > > > > > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > > > > Unsubscribe: > > > > http://www.antlr.org/mailman/options/antlr-interest/your- > > > > email-address > > > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > > > Unsubscribe: > > > http://www.antlr.org/mailman/options/antlr-interest/your-email- > > address > > > > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > > Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your- > > email-address > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-inter...@googlegroups.com. To unsubscribe from this group, send email to il-antlr-interest+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.