[rene at debian.org: javacc help needed]

Paul Cager paul-debian at home.paulcager.org
Sun Nov 4 18:50:02 UTC 2007


Rene Engelhard wrote:
> Gar. Double typo...
> 
> ----- Forwarded message from Rene Engelhard <rene at debian.org> -----
> 
> Date: Sun, 4 Nov 2007 17:28:34 +0100
> From: Rene Engelhard <rene at debian.org>
> To: debian-java at lists.debian.org, pkg-java-maintainers at lists.debian.or
> Subject: javacc help needed
> Organization: The Debian Project
> User-Agent: Mutt/1.5.17 (2007-11-01)
> 
> Hi,
> 
> the recently accepted flutejava and flute-1.3-jfree packages use a
> javacc generated parser - but they currently ship one pre-generated
> which is not really the ideal way.
> 
> I don't feel comfortable uploading those to unstable with a parser not
> being able to rebuilt/fixed if needed; this in turn holds some packages
> up from being uploaded to unstable which in turn hold up OpenOffice.org
> 2.3.x being uploaded to unstable.. :/
> 
> When removing the generated files, re-building the parser and trying the
> build it fails, though (not at the &6 ;) ) when trying to build the
> stuff:
> 
> http://zyklop.dyndns.org/~rene/flute-1.3-jfree_20061107-2_amd64.build
> http://zyklop.dyndns.org/~rene/flutejava_1.3-3_amd64.build
> which both boil to "Unhandled exception type ParseException".
> 
> Is there anyone javacc-knowledgeable who wants to look and tell me what
> I am/upstream is doing wrong and how to regenerate the parser?
> (apt-get source flutejava/flute-1.3-jfree; look for FIXME ;) )
> 
> Regards,
> 
> Rene


At first sight it looks as though upstream have provided their own
"ParseException" class, replacing the one that JavaCC would normally
generate. This sort of thing is not that unusual with JavaCC, as JavaCC
doesn't provide easy ways for developers to specify base classes for
Token, SimpleNode, ParseException etc (some of that will change in
JavaCC 4.1).

I'll have a closer look later on.


Thanks,
Paul



More information about the pkg-java-maintainers mailing list