aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes IDEA 10, I can't get JAXB menu option to be enabled. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "IDEA 10, I can Watch "IDEA 10, I can New topic
Author

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

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10033
    
163

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.

[My Blog] [JavaRanch Journal]
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14102
    
  16

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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

Joined: Feb 05, 2001
Posts: 17250
    
    6

Bug created.

http://youtrack.jetbrains.net/issue/IDEA-65495

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IDEA 10, I can't get JAXB menu option to be enabled.