sskumar86
sskumar86

Reputation: 161

JAXB - Create JAVA files instead of .class files in 'xjc'

All,

How to create java files(.java files) instead of .class files while firing xjc command? What is the argument used with xjc to achieve this?

Also,explain why we used -extension and -episode as arguments to xjc?How these arguments are useful?

Thanks in advance

Upvotes: 1

Views: 590

Answers (1)

bdoughan
bdoughan

Reputation: 149027

If you make the following cal, thenl XJC will make .java files instead of .class files:

xjc your_schema.xsd

Upvotes: 1

Related Questions