First build of a freshly cloned repo fails with antlr problems
How to reproduce:
- clone a fresh copy of the repo
- import it to a clean workspace in eclipse
- build
The build fails (see below). Most probably we need to revise the order of the build of the g4 files to fix this. All the later builds work, as the .tokens files are generated by the first one and not deleted by clean.
ANTLR Tool v4.3 (C:\Users\GezaBela\antlr\antlr-4.3-complete.jar)
CfgParser.g4 -o C:\Users\GezaBela\Source\Repos\gitlab\master\org.eclipse.titan.common\src\org\eclipse\titan\common\parsers\cfg -no-listener -no-visitor -package org.eclipse.titan.common.parsers.cfg -encoding UTF-8
error(3): cannot find tokens file 'CfgLexer.tokens'
warning(125): CfgParser.g4:364:0: implicit definition of token 'MAIN_CONTROLLER_SECTION' in parser
warning(125): CfgParser.g4:365:24: implicit definition of token 'SEMICOLON' in parser
warning(125): CfgParser.g4:379:1: implicit definition of token 'UNIXSOCKETS' in parser
warning(125): CfgParser.g4:380:1: implicit definition of token 'ASSIGNMENTCHAR' in parser
warning(125): CfgParser.g4:392:2: implicit definition of token 'YES' in parser
warning(125): CfgParser.g4:392:8: implicit definition of token 'NO' in parser
warning(125): CfgParser.g4:396:1: implicit definition of token 'KILLTIMER' in parser
warning(125): CfgParser.g4:409:1: implicit definition of token 'LOCALADDRESS' in parser
warning(125): CfgParser.g4:420:1: implicit definition of token 'NUMHCS' in parser
warning(125): CfgParser.g4:433:1: implicit definition of token 'TCPPORT' in parser
warning(125): CfgParser.g4:446:1: implicit definition of token 'INCLUDE_SECTION' in parser
(...many more lines omitted...)