• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xjc command using eclipse IDE rather than command line

 
Ranch Hand
Posts: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 930
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does there is any such feature in eclipse? please advise
 
reply
    Bookmark Topic Watch Topic
  • New Topic