Problem when switched to 3.2 Eclipse

4 views
Skip to first unread message

jack

unread,
May 23, 2007, 3:38:26 AM5/23/07
to PlacidSystems.AntlrStudio
I switch to new the version of Eclipse (3.2) and tried to re-run some
old grammar files (used to run before changing to the new Eclipse).
The system promptly generated the following errors:

----------------------------------------------------------------------------------------------------------------------------------------------------
Severity and Description Path Resource Location Creation Time Id

The project was not built since its build path is incomplete. Cannot
find the class file for antlr.ASdebug.IASDebugStream. Fix the build
path then try building this project myProject Unknown 1179903548421
297708

The type antlr.ASdebug.IASDebugStream cannot be resolved. It is
indirectly referenced from required .class files myProject/src/app
L.java line 36 1179903548421 297707
----------------------------------------------------------------------------------------------------------------------------------------------------

I looked at the source codes of L.java and P.java and as expected they
contain

public class L extends antlr.antlrStudio.ASDebugCharScanner
implements PTokenTypes, TokenStream

How can I fix this problem? Should I remove the AntlrStudio or there
is a gentler technique?

How does the ANTLR Studio affects the size of the final code. I am
using the system as a pre-processor and would like to reduce the size
of the code for production runs.

Thanks for your help,

Jack

prasha...@gmail.com

unread,
May 23, 2007, 6:03:35 AM5/23/07
to PlacidSystems.AntlrStudio
You forgot to turn debugging in Antlr studio so you got all the
debugging related code and a reference to the debugging jar.

Right-click on project in package explorer, go to Properties>Antlr
Studio and make sure 'Enable Debugging of grammar files' is unchecked.

This will turn off debugging and generate release quality code.

Prashant

prasha...@gmail.com

unread,
May 23, 2007, 6:03:44 AM5/23/07
to PlacidSystems.AntlrStudio
You forgot to turn debugging in Antlr studio so you got all the
debugging related code and a reference to the debugging jar.

Right-click on project in package explorer, go to Properties>Antlr
Studio and make sure 'Enable Debugging of grammar files' is unchecked.

This will turn off debugging and generate release quality code.

Prashant

On May 23, 12:38 am, jack <verybusywor...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages