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