Dealing with ANTLR's output directory....
When I use the ANTLRWorks plugin and generate the lexer/parser java files, it sticks them in a folder under "src" called "output".
IDEA then complains about this because those files are in a folder called "output" but not in a package called "output".
What's the workaround for this? Is there a way to...
a) Get ANTLR to build directly to the "src" folder, or
b) Get ANTLR to add "package output;" to the generated java source, or
c) Get IDEA to also look at "output" as though its contents were in the "src" folder
请先登录再写评论。