You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mykel Alvis <my...@weirdness.com> on 2006/07/07 23:55:53 UTC
jax-rpc wscompile mojo
I just completed a plugin that runs the code-generation segment of wscompile
during the generate-sources phase, and now I have (another) question.
Is there some real-world reason why the java compiler would need to be
invoked during that phase/process?
The jax-rpc code for CompileTool invokes the java compiler class during the
generation process, which wreaks havoc with classpath issues, etc. so I
generated a new CompileTool called MojoGenerationTool that overrides the
run() method in CompileTool to specifically NOT make the call to compile the
sources. I'm not overly familiar with jax-rpc, so is the fact that I don't
run the compiler (during generate-sources) a Bad Thing?
Mykel
--
Never wear anything that panics the cat. -- P. J. O'Rourke