Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » How to avoid confliction of Node and SimpleNode when I import DTP ast.Node and ast.Simple
How to avoid confliction of Node and SimpleNode when I import DTP ast.Node and ast.Simple [message #1071381] Sat, 20 July 2013 00:50
Tom Ye is currently offline Tom YeFriend
Messages: 1
Registered: July 2013
Junior Member
Hi,

When I import

org.eclipse.datatools.sqltools.sql.parser.ast.Node;
org.eclipse.datatools.sqltools.sql.parser.ast.SimpleNode;

In the local generated files, they use local Node.java and SimpleNode.java. So when it generates java file from .jj, there are some errors for referencing. For example:

Description Resource Path Location Type
The method jjtreeCloseNodeScope(Node) in the type Parsers is not applicable for the arguments (ASTStart) Parsers.java /Parsers/src line 4188 Java Problem

ASTStart extends from SimpleNode generated by jjt. And Node inside jjtreeCloseNodeScope function is the org.eclipse.datatools.sqltools.sql.parser.ast.Node.

Need a help!
Previous Topic:DTP 1.11 (Kepler) download is missing
Next Topic:Setting up a DTP Connection Profile with Private SSH key
Goto Forum:
  


Current Time: Thu Dec 18 04:17:06 GMT 2014

Powered by FUDForum. Page generated in 0.01630 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software