Just wondering if anyone can recommend an approach for writing a
plugin that generates sources (in my case jaxb-xjc). In particular my
first thought was to generate the source right there in the source
tree, but this causes problems for the clean:clean goal that will
never delete them. I also think it would be dangerous to tinker with
the clean behavior to try to delete stuff outside of the target
directory.
My only other thought was to generate the sources directly in the
target directory (create if necessary) and add that to the compiler
sources.
Just to compound the problem further, jaxb-xjc generates a properties
file in with the sources (ie not resources) that would need to be
moved over to the target directory. I'm leaning towards making this
latter option fly, unless somebody can put forward a clean third way.
Thanks
AW
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]