Gabor Liptak created PHOENIX-2465:
-------------------------------------
Summary: upgrade ANTLR version to correct generation error with
Java 8
Key: PHOENIX-2465
URL: https://issues.apache.org/jira/browse/PHOENIX-2465
Project: Phoenix
Issue Type: Improvement
Reporter: Gabor Liptak
Assignee: Gabor Liptak
Priority: Minor
[INFO] Source directory: /tmp/phoenix/phoenix-core/src/main/antlr3 added.
[INFO]
[INFO] --- antlr3-maven-plugin:3.5:antlr (default) @ phoenix-core ---
[INFO] ANTLR: Processing source directory
/tmp/phoenix/phoenix-core/src/main/antlr3
ANTLR Parser Generator Version 3.5
Output file
/tmp/phoenix/phoenix-core/target/generated-sources/antlr3/org/apache/phoenix/parse/PhoenixSQLParser.java
does not exist: must build
/tmp/phoenix/phoenix-core/src/main/antlr3/PhoenixSQL.g
PhoenixSQL.g
warning(24): template error: context [/outputFile /parser /genericParser
/region__/genericParser__members] 32:3 no such property or can't access:
org.antlr.tool.Grammar.indirectDelegates
Caused by: org.stringtemplate.v4.misc.STNoSuchPropertyException: no such
property: org.antlr.tool.Grammar.indirectDelegates
at
org.stringtemplate.v4.misc.ObjectModelAdaptor.throwNoSuchProperty(ObjectModelAdaptor.java:106)
at
org.stringtemplate.v4.misc.ObjectModelAdaptor.lookupMethod(ObjectModelAdaptor.java:99)
http://stackoverflow.com/questions/23572544/errors-when-compiling-a-grammar
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)