File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IDEA 10, I can't get JAXB menu option to be enabled.

 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an .xsd a .dtd and an .xml file open, I click on each one to see if one would enable the JAXB menu option. I want to generate Java code from the schema through the IDE. I have done this many times before, but not with IDEA 10. Anyone know how I can get it to be available?

Thanks

Mark
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just checked my local installation. I had to first install the "WebServices" plugin through the File -> Other Settings -> Configure Plugins and then restart the IDE. Later I had to *right click* on the xsd and then select WebServices -> Generate Java code from XML schema using JAXB... option.

Surprisingly the Tools -> JAXB option is disabled even when I have the .xsd open in the editor.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it still doesn't work, try asking it in the forums on the JetBrains website.

I recently found a bug in the Scala plug-in and I was impressed how quickly they fixed it - in less than a day.
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, I found the same thing last night. The menu option was always disabled, but right clicking in the file worked. I will post it as a bug to JetBrains. They are quick to fix those stuff and put out a patch.

Thanks

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17276
6
IntelliJ IDE Mac Spring
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic