On 08/15/2013 03:57 PM, Ray Tsang
wrote:
Well, it's true that the Maven build process could generate at least
the XSD automatically, and automatic parsing is not that complicated
- in fact I've done this in RadarGun, changing Mircea's original
setter-way.
But in order to be able to use the programmatic configuration, you
have either write the builder yourself or generate it with some tool
(I don't think it would be right to generate further Java sources
during the Maven build, even if it is possible). And using tool for
generation of some Java code based on another code seems to me as
another nasty complication.
Alltogether, writing *Configuration and *ConfigurationBuilder should
be enough, all the rest can be managed by runtime/build.
+1 as well
Radim