• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB Problem - Need Help

 
Muks Sam
Ranch Hand
Posts: 47
Java MyEclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using ANT 1.6, JAXB 2.0. jdk1.5.0_19.

While binding the XSD and exploding the XSD, I got below mentioned problem as in figure.

The problem is, after running the ant script, the buildfile should generate the classes and interfaces pertaining to xsd. the ant is generating only classes and not interfaces and /impl classes and folders etc.

Can somebody help me in resoving what exactly is the problem?


Thanks in advance,

- Muks
1.JPG
[Thumbnail for 1.JPG]
compileScreenShot
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
It looks like you do not have the XJC Ant task defined properly.
Check the following references for more information:
https://jaxb.dev.java.net/nonav/2.1.9/docs/xjcTask.html
https://jaxb.dev.java.net/nonav/2.1.9/docs/xjc.html
Best wishes!
 
Muks Sam
Ranch Hand
Posts: 47
Java MyEclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ivan.

Thanks for ton,

Correct, You identified the problem. only difference was i could identify the problem little early, I wish I had this answer before.

Neverthless, this definitely helped again to remember,

Thanks again

- M
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic