javacc / javaccPlugin

A JavaCC plugin for Gradle
MIT License
33 stars 16 forks source link

Does not create JJtree node classes #47

Closed hiteshsharma closed 1 year ago

hiteshsharma commented 5 years ago

The task output from jjtree shows that Node files are being generated but I don't see .java files in output directory. I only see ".jj" file

compileJjtree { inputDirectory = file('src/main/java/com/linkedin/little/') outputDirectory = file(project.buildDir.absolutePath + '/generated/jjtree') arguments = [grammar_encoding: 'UTF-8', static: 'false'] }

Java Compiler Compiler Version 5.0 (Tree Builder) (type "jjtree" with no arguments for help) Reading from file /Users/hsharma/Workspace/little_trunk/little-impl/src/main/java/com/linkedin/little/littleContent.jjt . . . File "Node.java" does not exist. Will create one. File "SimpleNode.java" does not exist. Will create one. File "ASTRoot.java" does not exist. Will create one. File "ASTText.java" does not exist. Will create one. File "ASTHashtag.java" does not exist. Will create one. File "ASTLink.java" does not exist. Will create one. File "ASTMention.java" does not exist. Will create one. File "ASTTemplate.java" does not exist. Will create one. File "LittleContentParserTreeConstants.java" does not exist. Will create one. File "LittleContentParserVisitor.java" does not exist. Will create one. File "JJTLittleContentParserState.java" does not exist. Will create one. Annotated grammar generated successfully in /Users/hsharma/Workspace/little_trunk/build/little-impl/generated/jjtree/tmp/littleContent.jj

zbynek commented 1 year ago

Please share a minimal reproducible example and reopen this issue.