The best way to handle this is to report a bug:
http://mojo.codehaus.org/javacc-maven-plugin/issue-tracking.html

You need to create a user account in Codehaus Xircles to log in to Jira.

I advocate a three-step process (each step will increase the likelyhood of
getting it fixed):
1. Report the bug with a good description
2. Provide a small project to reproduce (attach to ticket)
3. Create a patch to fix the issue (attach to ticket)

/Anders


On Fri, Apr 25, 2014 at 9:57 AM, Victor Bucutea <victor.bucu...@gmail.com>wrote:

> Hey there!
>
> Very nice work on the javacc-mvn plugin!
>
> I stumbled however on a bug related to the output directoty of the
> generated jjtree. Now I might be missinterpreting the help documentation
> and if so please tell me how I should fix it.
>
> I've set up a small git for cloning:
> https://github.com/victorbucutea/javacc-bug
> If i run :
>
> *mvn generate-sources *
>
> I get the *jjtree *in the target/jjtree and the *parser classes * in the
> src/main/java folder.
>
> I expected to see both the *jjtree and parser classes * in the
> src/main/java  folder ( of course in the corresponding package), because
> that's the way it's configured in pom.xml :
>
> *                    <execution>*
> *                        <id>javacc</id>*
> *                        <goals>*
> *                            <goal>jjtree-javacc</goal>*
> *                        </goals>*
> *                        <configuration>*
> *
> <sourceDirectory>src/main/resources</sourceDirectory>*
> *
> <outputDirectory>src/main/java</outputDirectory>*
> *                            <!-- uncomment this to work*
> *
> <interimDirectory>src/main/java</interimDirectory-->*
> *                        </configuration>*
> *                    </execution>*
>
> After checking out the code I've found that creating an interimDirectory
> paramater will do the trick for me, but that's not the way to do it. It's
> confusing to have 3 directories.
>
>
> Thanks,
> Victor
>

Reply via email to