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

Reply via email to