[antlr-interest] an antlr 3.1 beta daily build
john.ridgway at trincoll.edu
Tue Oct 30 10:29:50 PDT 2007
Unfortunately, the last time I looked, the source was distributed
with some extraneous files. If you look in codegen you'll see a
number of generated files. They are duplicated in the src tree, and
you need to remove them from the SRC TREE (not from codegen). As of
3.0.1 this meant:
I'd start with that and see where that gets you.
P.S. See the fink package info for antlr3... You can probably
modify it slightly to use the latest version. (Of course, if you
don't use fink this won't help much. :-))
On Oct 30, 2007, at 9:11 AM, Michael LeBlanc wrote:
> On Oct 30, 2007, at 8:11 AM, Johannes Luber wrote:
>> Afterwards you have only to execute the buildfile.
> I'm running ant 1.7.0 on MacOS 10.4.10 with the JAR from ANTLRworks
> 1.1.4 ...
>> $ ant -lib /Applications/ANTLRWorks.app/Contents/Resources/Java/
>> [myjavac] Compiling 133 source files to /Users/mike/
>> [myjavac] /Users/mike/antlr-2007-10-29.14/codegen/
>> ANTLRLexer.java:61: duplicate class: org.antlr.tool.ANTLRLexer
>> [myjavac] public class ANTLRLexer extends antlr.CharScanner
>> implements ANTLRTokenTypes, TokenStream
>> [myjavac] ^
> followed by many similar errors. Do I need an earlier JAR? Or
> something else entirely?
More information about the antlr-interest