Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T titan.EclipsePlug-ins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 94
    • Issues 94
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse Projects
  • Eclipse Titan
  • titan.EclipsePlug-ins
  • Issues
  • #422

Closed
Open
Created Jun 25, 2021 by Miklos Magyari@mmagyariDeveloper

First build of a freshly cloned repo fails with antlr problems

How to reproduce:

  1. clone a fresh copy of the repo
  2. import it to a clean workspace in eclipse
  3. 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...)

Edited Jun 25, 2021 by Miklos Magyari
Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent