This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 28062 - Make module buildable and runnable again
Summary: Make module buildable and runnable again
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: antlr (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on: 28061
Blocks:
  Show dependency tree
 
Reported: 2002-10-17 02:57 UTC by _ briansmith
Modified: 2007-09-17 21:48 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
yet another version of the antlr module, which does not work (see thread on nbdev list) (815.77 KB, application/octet-stream)
2002-10-17 08:48 UTC, _ hkrug
Details
changelog of some changes made to antlr sources (55.12 KB, text/plain)
2002-10-18 07:49 UTC, _ hkrug
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ briansmith 2002-10-17 02:57:08 UTC
In its current state the ANTLR module seems to not
be buildable or runnable. I have some local
changes that seem to (help) fix the problems.

I have rewritten the build script to use the
<antlr> task. The files generated from .g files
that are currently in CVS should  be removed from
CVS (in src/org/netbeans/modules/antlr/editor/g/:

ANTLRLexer.java
ANTLRParser.java
ANTLRTokenTypes.*

Also, I have made some changes to get the module
to build against ANTLR 2.7.2a3 instead of whatever
version it was previously using. In particular, I
have changed the module so that it will not
require an ANTLR autoload module (see issue
28061). The upgrade to ANTLR 2.7.2 required some
changes to remove dependencies on things in
antlr.Tool that were removed in 2.7.2.

Everybody that has done any work to get ANTLR to
build/run should feel free to attach patches and
comments to this issue.
Comment 1 _ hkrug 2002-10-17 08:48:08 UTC
Created attachment 7681 [details]
yet another version of the antlr module, which does not work (see thread on nbdev list)
Comment 2 Jesse Glick 2002-10-17 17:28:34 UTC
Derrick Oswald is currently listed as a project owner, but it seems
clear that others are ready to be more active. Brian, I suggest you
request the role - or at least, that of Developer. Holger too. Since
the module is currently broken and unmaintained, it could hardly be
harmed by people jumping in and working on it.
Comment 3 Jesse Glick 2002-10-17 17:29:01 UTC
http://antlr.netbeans.org/servlets/ProjectMemberList

by the way.
Comment 4 _ hkrug 2002-10-17 17:50:14 UTC
I requested developer role. I would like Brian to become owner.
Comment 5 _ hkrug 2002-10-18 07:48:03 UTC
I'm now going to append a changelog of all the changes I've made to
the antlr sources to make antlr more extendable. The changelog is
meant as a starting point for discussions. I can provide a diff, too,
but would like to discuss the changes made first.

The change made at 2002-10-07 09:10 shows one speciality: it is meant
for parsers, which consume tokens from streams which are not antlr
lexer in cases where it is preferable to dispense tokens explicitely.
My use case is in XML parsing (I mean the layer, which consumes
SAX-like events in an application specific manner), where XML element
attributes must be copied, when needed at a later point in parsing. To
avoid attribute copying I must know, how long a token is actually needed.

The change made at 2002-10-02 16:32 extends token name identifiers to
a format which betters fits to automatically generated token names
having some internal structure. Here `$' is used as separator sign.
Comment 6 _ hkrug 2002-10-18 07:49:11 UTC
Created attachment 7702 [details]
changelog of some changes made to antlr sources
Comment 7 Jiri Prox 2007-09-17 21:48:13 UTC
Obsolete milestone, please reevaluate