[antlr-interest] gUnit (Aug 20, 2007) incompatible with ANTLR 3.1b intermediate builds
nelson.ana at gmail.com
Thu Jan 10 03:41:22 PST 2008
Thanks for your reply, and thanks for gUnit. :-)
Do you plan to set up a project page for gUnit somewhere (with a public
source code repository)? Or will it be made part of ANTLR?
On 08/01/2008, Leon Su <leon.antlr at mac.com> wrote:
> Hi Ana,
> Current gUnit is only compatible with latest ANTLR official version
> 3.0.1 or version 3.0.
> It does has the incompatible problem with the latest intermediate
> builds such as antlr-2007-12-31.17.
> The problem will be solved in the next release of gunit, and sorry
> for the inconvenience.
> Thanks for addressing the issue.
> To Adam:
> gUnit only supports Java as the target language currently, and the
> source is included in the gunit.jar as Ana mentioned.
> On Jan 8, 2008, at 3:32 AM, Ana Nelson wrote:
> > I had some trouble getting gUnit working, I was getting Java
> > Exceptions such as:
> > Exception in thread "main" java.lang.NoSuchFieldError: type
> > Eventually I changed my classpath to reference the official antlr
> > release ( antlr-3.0.1) and not the intermediate build/early access
> > version (antlr-2007-12-31.17), and recompiled the grammar I was
> > testing with antlr-3.0.1 and that did the trick.
> > I did try compiling gUnit.g with antlr-2007-12-31.17 to see if I
> > could use the more recent version, but there's an issue with quote
> > escaping so the generated .java files won't compile.
> > Just posting this here in case anyone else has a similar problem.
> > Are there any plans to make gUnit part of ANTLR? I would really
> > like to have tests for my grammars and to stay up to date with
> > recent versions of ANTLR (since I'm hoping to switch to the Ruby
> > target if it gets more development).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest