Setting interimDirectory for the jjtree-javacc goal fixes my problems.

--jason


On Oct 1, 2008, at 12:49 PM, Benjamin Bentmann wrote:

Jason Dillon wrote:

Notice the ASTOpaqueString, ASTPlainString and ASTQuotedString, which are defined in src/main/java/* ? There are also classes of the same name, the generated bits, in the target/generated-sources/ jjtree output.

The Mojo plugin is currently collecting the output from both JJTree and JavaCC into "generated-source/javacc" and registeres this (and only this) directory as a compile source root with the Maven build.

In the light of http://www.jetbrains.net/jira/browse/IDEA-19177 I started to ask myself what were the compelling reasons to do so instead of registering "generated-source/jjtree" and "generated- source/javacc" as two independent source roots. Apart from possibly saving a few lines of code, I spontaneously don't see a necessity for the current approach. So I will try to change that such that IDEA hopefully works out of the box with the plugin.


Benjamin

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to