1

I'm using JAXB on two different XSDs. Some of the generated classes appear to be the same. Is this unusual, and when I copy the classes over to my source package structure, should I just copy over the duplicate classes? Or, is it possible to run xjc with a flag that says not to copy over/generate duplicate classes?

bmw0128
  • 13,470
  • 24
  • 68
  • 116

1 Answers1

0

It's the episodes feature you are after.

This post on SO might help, along with this; the latter might be a bit outdated, but I've seen people asking questions on SO about issues long solved in newer versions of JAXB, so one never knows...

Community
  • 1
  • 1
Petru Gardea
  • 21,373
  • 2
  • 50
  • 62