woah woah waoh... I never said to put generated sources in the src directory... never, never do that! Keep the jjtree outputdirectory to be target/generate-sources/jjtree... then set javacc source directory to be the same (target/generate-sources/jjtree).
Eric On 2/28/07, Steffen Mazanek <[EMAIL PROTECTED]> wrote:
Thank you, Eric and Wayne, it does work now. However, I guess this is a more general problem. How would you explain, that generated sources go to the src-directory again? Isn't this a bit unattractive? Everybody would look into target/generated-sources first. Again, thank you for your help. Steffen Eric Redmond schrieb: > http://mojo.codehaus.org/javacc-maven-plugin/jjtree-mojo.html > http://mojo.codehaus.org/javacc-maven-plugin/javacc-mojo.html > > Configure the javacc sourceDirectory to jjtree's outputDirectory. I > suggest > using a common property (like ${jjtree.output} or something). > > Eric > > On 2/28/07, Steffen Mazanek <[EMAIL PROTECTED]> wrote: >> >> Hello, >> >> I am pretty new to maven. Currently I try to run jjtree on a file and >> pass the result to javacc. Is there a standard way to do this >> with the javacc-maven-plugin? The default outputDirectory of >> the jjtree goal is target/generated-sources/jjtree, but javacc is >> looking >> for files in src/main/javacc. >> What is the maven convention in such cases? Should generated files go >> to target (-> plugins may point to target for input?!) or source in >> general? >> >> My experiences with Maven are very good up to now. Migrating >> an old project is a lot simpler than I originally expected. >> >> Best regards, >> >> Steffen >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Eric Redmond http://codehaus.org/~eredmond
