This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exploding Generated java files with XJC

Philippe Desrosiers
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using the JAXB xjc Ant task, I can generate Java classes from a set of schemas. But complex types are defined as public static classes, within the "parent" class that uses them (if that makes any sense).

Is there some way to tell the XJC task to "explode" these types out to a separate, public class file? I've checked the docs, but can't find any option for this.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic