I am trying to build JavaCC with your javaccPlugin but it seems I miss something. Here the script which from my understanding should work
plugins {
id "ca.coglinc.javacc" version "2.3.1"
}
apply plugin: "ca.coglinc.javacc"
apply plugin: 'java'
but gradle clean build pops up thoses compile errors:
C:\Users\fandre\Documents\git\javacc>gradlew clean build
:clean
:compileJjtree
Java Compiler Compiler Version 6.1_2 (Tree Builder)
(type "jjtree" with no arguments for help)
Reading from file C:\Users\fandre\Documents\git\javacc\src\main\jjtree\JJTree.jjt . . .
Warning: Command line setting of "JJTREE_OUTPUT_DIRECTORY" modifies option value in file.
opt:java
File "Node.java" does not exist. Will create one.
File "SimpleNode.java" does not exist. Will create one.
File "ASTGrammar.java" does not exist. Will create one.
File "ASTCompilationUnit.java" does not exist. Will create one.
File "ASTProductions.java" does not exist. Will create one.
File "ASTOptions.java" does not exist. Will create one.
File "ASTOptionBinding.java" does not exist. Will create one.
File "ASTJavacode.java" does not exist. Will create one.
File "ASTJavacodeBody.java" does not exist. Will create one.
File "ASTBNF.java" does not exist. Will create one.
File "ASTBNFDeclaration.java" does not exist. Will create one.
File "ASTBNFNodeScope.java" does not exist. Will create one.
File "ASTRE.java" does not exist. Will create one.
File "ASTTokenDecls.java" does not exist. Will create one.
File "ASTRESpec.java" does not exist. Will create one.
File "ASTBNFChoice.java" does not exist. Will create one.
File "ASTBNFSequence.java" does not exist. Will create one.
File "ASTBNFLookahead.java" does not exist. Will create one.
File "ASTExpansionNodeScope.java" does not exist. Will create one.
File "ASTBNFAction.java" does not exist. Will create one.
File "ASTBNFZeroOrOne.java" does not exist. Will create one.
File "ASTBNFTryBlock.java" does not exist. Will create one.
File "ASTBNFAssignment.java" does not exist. Will create one.
File "ASTBNFNonTerminal.java" does not exist. Will create one.
File "ASTBNFOneOrMore.java" does not exist. Will create one.
File "ASTBNFZeroOrMore.java" does not exist. Will create one.
File "ASTBNFParenthesized.java" does not exist. Will create one.
File "ASTREStringLiteral.java" does not exist. Will create one.
File "ASTRENamed.java" does not exist. Will create one.
File "ASTREReference.java" does not exist. Will create one.
File "ASTREEOF.java" does not exist. Will create one.
File "ASTREChoice.java" does not exist. Will create one.
File "ASTRESequence.java" does not exist. Will create one.
File "ASTREOneOrMore.java" does not exist. Will create one.
File "ASTREZeroOrMore.java" does not exist. Will create one.
File "ASTREZeroOrOne.java" does not exist. Will create one.
File "ASTRRepetitionRange.java" does not exist. Will create one.
File "ASTREParenthesized.java" does not exist. Will create one.
File "ASTRECharList.java" does not exist. Will create one.
File "ASTCharDescriptor.java" does not exist. Will create one.
File "ASTNodeDescriptor.java" does not exist. Will create one.
File "ASTNodeDescriptorExpression.java" does not exist. Will create one.
File "ASTPrimaryExpression.java" does not exist. Will create one.
File "JJTreeParserTreeConstants.java" does not exist. Will create one.
File "JJTreeParserVisitor.java" does not exist. Will create one.
File "JJTreeParserDefaultVisitor.java" does not exist. Will create one.
File "JJTJJTreeParserState.java" does not exist. Will create one.
Annotated grammar generated successfully in C:\Users\fandre\Documents\git\javacc\build\generated\jjtree\tmp\JJTree.jj
:compileJavacc
Java Compiler Compiler Version 6.1_2 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file C:\Users\fandre\Documents\git\javacc\src\main\javacc\ConditionParser.jj . . .
Warning: Line 33, Column 3: Command line setting of "OUTPUT_DIRECTORY" modifies option value in file.
File "TokenMgrError.java" does not exist. Will create one.
File "ParseException.java" does not exist. Will create one.
File "Token.java" does not exist. Will create one.
File "JavaCharStream.java" does not exist. Will create one.
Parser generated with 0 errors and 1 warnings.
Java Compiler Compiler Version 6.1_2 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file C:\Users\fandre\Documents\git\javacc\src\main\javacc\JavaCC.jj . . .
Warning: Line 42, Column 3: Command line setting of "OUTPUT_DIRECTORY" modifies option value in file.
File "TokenMgrError.java" is being rebuilt.
File "ParseException.java" is being rebuilt.
File "Token.java" is being rebuilt.
File "JavaCharStream.java" is being rebuilt.
Parser generated with 0 errors and 1 warnings.
Java Compiler Compiler Version 6.1_2 (Parser Generator)
(type "javacc" with no arguments for help)
Reading from file C:\Users\fandre\Documents\git\javacc\build\generated\jjtree\JJTree.jj . . .
Warning: TokenMgrError.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you.
Warning: ParseException.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you.
Warning: Token.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you.
Warning: JavaCharStream.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you.
Parser generated with 0 errors and 4 warnings.
:compileJava
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:43: error: cannot find symbol
void javacc_input() throws ParseException {/*@bgen(jjtree) Grammar */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:196: error: cannot find symbol
final public void javacc_options() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:250: error: cannot find symbol
final public void option_binding() throws ParseException {/*@bgen(jjtree) OptionBinding */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:331: error: cannot find symbol
final public void production() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:379: error: cannot find symbol
final public void javacode_production() throws ParseException {/*@bgen(jjtree) Javacode */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:580: error: cannot find symbol
final public void bnf_production() throws ParseException {/*@bgen(jjtree) BNF */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:816: error: cannot find symbol
final public void AccessModifier() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:847: error: cannot find symbol
final public void regular_expr_production() throws ParseException {/*@bgen(jjtree) RE */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:947: error: cannot find symbol
final public void token_manager_decls() throws ParseException {/*@bgen(jjtree) TokenDecls */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:993: error: cannot find symbol
final public void regexpr_kind() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:1018: error: cannot find symbol
final public void regexpr_spec() throws ParseException {/*@bgen(jjtree) RESpec */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:1068: error: cannot find symbol
final public JJTreeNode expansion_choices(ASTProduction p) throws ParseException {/*@bgen(jjtree) #BNFChoice(> 1) */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:1120: error: cannot find symbol
final public void expansion(ASTProduction p) throws ParseException {/*@bgen(jjtree) #BNFSequence(> 1) */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:1244: error: cannot find symbol
final public void local_lookahead(ASTProduction p) throws ParseException {boolean commaAtEnd = false, emptyLA = true;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:1332: error: cannot find symbol
final public JJTreeNode expansion_unit(ASTProduction p) throws ParseException {Token t;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:1684: error: cannot find symbol
final public void regular_expression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:1831: error: cannot find symbol
final public void complex_regular_expression_choices() throws ParseException {/*@bgen(jjtree) #REChoice(> 1) */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:1876: error: cannot find symbol
final public void complex_regular_expression() throws ParseException {/*@bgen(jjtree) #RESequence(> 1) */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:1923: error: cannot find symbol
final public void complex_regular_expression_unit() throws ParseException {Token t;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2119: error: cannot find symbol
final public void character_list() throws ParseException {/*@bgen(jjtree) RECharList */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2183: error: cannot find symbol
final public void character_descriptor() throws ParseException {/*@bgen(jjtree) CharDescriptor */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2224: error: cannot find symbol
final public Token identifier() throws ParseException {Token t;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2234: error: cannot find symbol
ASTNodeDescriptor node_descriptor() throws ParseException {/*@bgen(jjtree) NodeDescriptor */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2324: error: cannot find symbol
void node_descriptor_expression() throws ParseException {/*@bgen(jjtree) NodeDescriptorExpression */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2367: error: cannot find symbol
String JavaIdentifier() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2430: error: cannot find symbol
void CompilationUnit() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2480: error: cannot find symbol
final public void PackageDeclaration() throws ParseException {String s;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2488: error: cannot find symbol
final public void ImportDeclaration() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2519: error: cannot find symbol
void Modifiers() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2587: error: cannot find symbol
final public void TypeDeclaration() throws ParseException {;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2637: error: cannot find symbol
final public void ClassOrInterfaceDeclaration() throws ParseException {Token t = null;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2693: error: cannot find symbol
final public void ExtendsList() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2712: error: cannot find symbol
final public void ImplementsList() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2731: error: cannot find symbol
final public void EnumDeclaration() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2746: error: cannot find symbol
final public void EnumBody() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2864: error: cannot find symbol
final public void EnumConstant() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2887: error: cannot find symbol
final public void TypeParameters() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2907: error: cannot find symbol
final public void TypeParameter() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2920: error: cannot find symbol
final public void TypeBound() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2939: error: cannot find symbol
final public void ClassOrInterfaceBody() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:2997: error: cannot find symbol
final public void ClassOrInterfaceBodyDeclaration() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3108: error: cannot find symbol
final public void FieldDeclaration() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3128: error: cannot find symbol
final public void VariableDeclarator() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3142: error: cannot find symbol
final public void VariableDeclaratorId() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3160: error: cannot find symbol
final public void VariableInitializer() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3216: error: cannot find symbol
final public void ArrayInitializer() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3289: error: cannot find symbol
final public void MethodDeclaration() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3327: error: cannot find symbol
final public void MethodDeclarator() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3346: error: cannot find symbol
final public void FormalParameters() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3406: error: cannot find symbol
final public void FormalParameter() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3440: error: cannot find symbol
final public void ConstructorDeclaration() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3546: error: cannot find symbol
final public void ExplicitConstructorInvocation() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3606: error: cannot find symbol
final public void Initializer() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3623: error: cannot find symbol
void Type() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3647: error: cannot find symbol
final public void ReferenceType() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3712: error: cannot find symbol
final public void Template() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3733: error: cannot find symbol
final public void TemplatePack() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3747: error: cannot find symbol
final public void TemplateBase() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3764: error: cannot find symbol
final public void ClassOrInterfaceType() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3801: error: cannot find symbol
final public void TypeArguments() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3830: error: cannot find symbol
final public void TypeArgument() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3877: error: cannot find symbol
final public void WildcardBounds() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3896: error: cannot find symbol
final public void PrimitiveType() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:3937: error: cannot find symbol
final public void ResultType() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4016: error: cannot find symbol
final public String Name() throws ParseException {String s, ss;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4033: error: cannot find symbol
final public void NameList() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4055: error: cannot find symbol
void Expression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4065: error: cannot find symbol
final public void AssignmentOperator() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4122: error: cannot find symbol
final public void ConditionalExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4138: error: cannot find symbol
final public void ConditionalOrExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4156: error: cannot find symbol
final public void ConditionalAndExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4174: error: cannot find symbol
final public void InclusiveOrExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4192: error: cannot find symbol
final public void ExclusiveOrExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4210: error: cannot find symbol
final public void AndExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4228: error: cannot find symbol
final public void EqualityExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4260: error: cannot find symbol
final public void InstanceOfExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4274: error: cannot find symbol
final public void RelationalExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4316: error: cannot find symbol
final public void ShiftExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4345: error: cannot find symbol
final public void AdditiveExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4377: error: cannot find symbol
final public void MultiplicativeExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4414: error: cannot find symbol
final public void UnaryExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4489: error: cannot find symbol
final public void PreIncrementExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4494: error: cannot find symbol
final public void PreDecrementExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4499: error: cannot find symbol
final public void UnaryExpressionNotPlusMinus() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4575: error: cannot find symbol
final public void CastLookahead() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4655: error: cannot find symbol
final public void PostfixExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4682: error: cannot find symbol
final public void CastExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4705: error: cannot find symbol
final public void PrimaryExpression() throws ParseException {/*@bgen(jjtree) PrimaryExpression */
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4745: error: cannot find symbol
final public void MemberSelector() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4751: error: cannot find symbol
final public void PrimaryPrefix() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4815: error: cannot find symbol
final public void PrimarySuffix() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4849: error: cannot find symbol
final public void Literal() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4883: error: cannot find symbol
final public Token IntegerLiteral() throws ParseException {Token t;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4889: error: cannot find symbol
final public Token BooleanLiteral() throws ParseException {Token t;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4909: error: cannot find symbol
final public Token StringLiteral() throws ParseException {Token t;
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4915: error: cannot find symbol
final public void NullLiteral() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4919: error: cannot find symbol
final public void Arguments() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4972: error: cannot find symbol
final public void ArgumentList() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:4990: error: cannot find symbol
final public void AllocationExpression() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
C:\Users\fandre\Documents\git\javacc\build\generated\javacc\JJTreeParser.java:5046: error: cannot find symbol
final public void ArrayDimsAndInits() throws ParseException {
^
symbol: class ParseException
location: class JJTreeParser
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 10.193 secs
Hello
I am trying to build JavaCC with your javaccPlugin but it seems I miss something. Here the script which from my understanding should work
but gradle clean build pops up thoses compile errors: