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.
Summary: | cnd's apt and modelimpl cannot be compiled if antlr correctly configured | ||
---|---|---|---|
Product: | cnd | Reporter: | Jaroslav Tulach <jtulach> |
Component: | -- Other -- | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jglick, psuchomel |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | This is my patch |
Description
Jaroslav Tulach
2007-07-10 10:05:26 UTC
as you proposed, to solve #1 we should change use of "antlr" target in build script to direct call of our own ANTLR generator. #2 should not be a problem, because cnd's version is not 3rd party ANTLR. We use ANTLR "Sun-2.7.7"; We have legal approval to use ANTLR sources (with correspond licensing) in NB/CND/SunStudio, we have legal approvement from author of ANTLR to change and distribute our own ANTLR version for NB/CND/SunStudio needs. our ANTLR version supports several additional attributes and code generator options for Java language. The reason of modifying ANTLR was the poor performance of generated code, the Sun-ANTLR version generates code which is 5-10x times faster for Java parsers/lexers. Our contributions are referenced from official ANTLR site as well. We can not use official ANTLR 2.7.7 and possibly in next release we'll move on own version of ANTLR 3.0 So, I think we should solve #1 like it's done with any other call to external tools Created attachment 45058 [details]
This is my patch
seems OK *** Issue 107378 has been marked as a duplicate of this issue. *** fixed. cvs log: /shared/data/ccvs/repository/cnd/modelimpl/build.xml,v <-- build.xml new revision: 1.10; previous revision: 1.9 done Checking in apt/build.xml; /shared/data/ccvs/repository/cnd/apt/build.xml,v <-- build.xml new revision: 1.6; previous revision: 1.5 done Thanks, looks like I can compile with "urpmi ant-antlr" now. |