Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337875

Summary: [MOXy] Support (validation and usability) for jaxb.properties in model packages
Product: [WebTools] Dali JPA Tools Reporter: Paul Fullbright <paul.fullbright>
Component: JAXBAssignee: Paul Fullbright <paul.fullbright>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: 3.0   
Target Milestone: 3.0 M7   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Paul Fullbright CLA 2011-02-22 13:23:24 EST
When using MOXy as a platform, the user is required to have a jaxb.properties file with the following line:

javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory


This is a common error case for users.  We should at least have validation when such a properties file is not present.  The ability to easily add this would also be very useful.
Comment 1 Paul Fullbright CLA 2011-04-11 18:50:56 EDT
Added support for jaxb.properties file types.
Added validation for EclipseLink JAXB projects: a project must have such a jaxb.properties file within its JAXB packages

Committed for M7