Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB External Cutomization.

Srikar Kummamuri
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to compile a bunch of XSD files those were placed in different directories under a main directory. My question is, Is there a way in external customization, that the class files generates automatically in the same directory structure as there are placed? And also is there a simple example where all calsses gets generated by the targeted name space?

I found some examples but they are customizing for each given XSD. But i want a small example, which generated the package structure for classes depending on the target name space for all the XSD's inside a perticular directory structure.

I got a directory called Schema
And schema/ean.ucc
And schema/ean.ucc/gdsn
AND schema/ean.ucc/item and so on.

I am trying to genearte the clasess depending on the target name space od XSD with the same package structure.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic