Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337875 - [MOXy] Support (validation and usability) for jaxb.properties in model packages
Summary: [MOXy] Support (validation and usability) for jaxb.properties in model packages
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JAXB (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Paul Fullbright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 13:23 EST by Paul Fullbright CLA
Modified: 2011-04-11 18:50 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 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