• Post Reply Bookmark Topic Watch Topic
  • New Topic

xjc command using eclipse IDE rather than command line  RSS feed

 
sai rama krishna
Ranch Hand
Posts: 536
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I followed below link and generated my own XSD and ObjectFactory class and used them to unmarshal as attached

http://www.javacodegeeks.com/2014/05/generate-your-jaxb-classes-in-a-second-with-xjc.html

The command i used to unmarshal is

C:\Users\xyz\IBM\rationalsdp\test_workspace\Test>xjc -d src -p blog.thought
s.on.java item.xsd
parsing a schema...
compiling a schema...
blog\thoughts\on\java\Item.java
blog\thoughts\on\java\ObjectFactory.java




Using eclipse how to invoke xjc command to generate the item.java and ObjectFactory.java at given package rather than doing manually from command line
please advise
xjc2.png
[Thumbnail for xjc2.png]
xjc2
 
sai rama krishna
Ranch Hand
Posts: 536
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does there is any such feature in eclipse? please advise
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!