crherman7 wrote:Actually better question would be is, if you had to regenerate all jaxb classes and recompile everything how would you go about doing this?
I only ask this because the more investigating I do I realize that when I regenerate the wml jaxb classes not all are created such as SdtElement.java is not created. There is no mention of SdtElement in the xsd folder so I wonder how and where it was created?
That's right, there are certain handcoded classes and edits, so there is a manual step after re-generation, of adding these changes back in. And unfortunately, its not just a matter of a simple diff, since xjc generates some stuff in a random order, adding a lot of noise to the diff.
For this reason, I tend to avoid wholesale regeneration of the wml classes these days; for most changes, its easier to patch one or 2 existing classes with the relevant changes from xjc.