This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Supressing default comments by xjc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Supressing default comments by xjc" Watch "Supressing default comments by xjc" New topic
Author

Supressing default comments by xjc

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 614
Hi,

I am generating java classes from xsd using xjc for jaxb2.0, the generated java class has entire xsd struct in comments at the begining.
is ther a way to supress this?

example


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9924
    
158

Apparently you can customize it


[My Blog] [JavaRanch Journal]
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 614
thanks much its helful...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Supressing default comments by xjc
 
Similar Threads
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
web services client is not validating parameters
Doubt on XML Schema validity
XSD Schema Error in WSAD
Problems with JAXB-generated javadoc code