| Summary: | JAXB Class Generation Wizard: Use EclipseLink checkbox doesn't always show. | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Andrew Fernandez <ripsi_1> |
| Component: | JAXB | Assignee: | Tran Le <tranle1> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | neil.hauge, shaun.smith, tranle1 |
| Version: | unspecified | ||
| Target Milestone: | 3.0 M7 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Andrew Fernandez
use eclipselink Moxy checkbox shows for: 10gR3 11gR1 Doesn't show for: PS2 and PS3. going to try PS1 too. I think I can solve this mystery for you. A decision was made to only show the "Use EclipseLink" checkbox when the project wasn't already configured to use EclipseLink. If the EclipseLink library is on the project classpath (and the Dali EclipseLink feature is installed in Eclipse) EclipseLink's JAXB class generation will be used and no checkbox will be shown. In your case, the Dali EclipseLink feature is likely present in all cases, so the checkbox visibility would be based on whether the EclipseLink library is on your project classpath. Specifically, the class we are testing for in this case is org.eclipse.persistence.jaxb.xjc.MOXyXJC. This disappearing checkbox is likely a temporary "feature" in Helios, as we plan to provide more structured JAXB support in the next release. I can certainly understand how this could be perceived as a bug, but for the moment this is as designed. I'm targeting this bug for 3.0 as I do think this functionality needs to be changed in the next release. JAXB wizard functionality should be based on the user chosen platform now that the JAXB facet and generic / eclipselink platforms are available. To expand on my last comment, my thought is that there would now be no need for a checkbox as the decision for what code generation to invoke would be based on the currently selected JAXB platform. The checkbox is still necessary for non JAXB project. For JAXB project the checkbox will not appear, and MOXy usage will be based on the project’s JAXB platform. Please reopen if further enhancement needed. |