Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322568 - JAXB schema generation uses all classes in the chosen package
Summary: JAXB schema generation uses all classes in the chosen package
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JAXB (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Tran Le CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 324689
Blocks:
  Show dependency tree
 
Reported: 2010-08-12 13:49 EDT by Karen Butzke CLA
Modified: 2011-05-26 16:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2010-08-12 13:49:05 EDT
Open the 'Schema from JAXB classes' wizard and select a package. In that package just select one of the classes instead of all of them. Press finish and the console only displays the one class but then the resulting schema includes all the classes.
Comment 1 Tran Le CLA 2010-09-27 14:09:22 EDT
The issue resided in MOXy JAXB implementations; the Metro implementation generates a schema with only the class selected.
I have communicated with Blaise and bug 324689 was opened.
Comment 2 Neil Hauge CLA 2011-05-26 16:52:06 EDT
Fixed in EclipseLink 2.3.
Comment 3 Neil Hauge CLA 2011-05-26 16:52:14 EDT
.