Deron Eriksson created SYSTEMML-949:
---------------------------------------
Summary: Delete ANTLR tokens files during initialize phase
Key: SYSTEMML-949
URL: https://issues.apache.org/jira/browse/SYSTEMML-949
Project: SystemML
Issue Type: Task
Components: Build
Reporter: Deron Eriksson
Assignee: Deron Eriksson
With the move to antlr 4.5.3, the antlr4-maven-plugin gives a "No grammars to
process" message during "mvn clean package" if *.tokens files have previously
been generated. Using previously generated tokens files can lead to unexpected
behavior (see comments from
https://github.com/apache/incubator-systemml/pull/243).
The tokens files can be deleted during the "initialize" maven lifecycle phase
so that they will be regenerated during the "generate-sources" maven lifecycle
phase (that the antlr4 goal binds to).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)