You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Deron Eriksson (JIRA)" <ji...@apache.org> on 2016/09/22 00:47:21 UTC

[jira] [Created] (SYSTEMML-949) Delete ANTLR tokens files during initialize phase

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)