|Re: [eclipselink-users] [Fwd: Cannot get MOXy to work]|
This is also a good question for the Dali Java Persistence Tools forum:
For more on Dali - http://www.eclipse.org/webtools/dali/
There are a couple of core libraries that need to be in your classpath at the project or system level in order to generate classes from schema in Helios. These include:
This would solve the problem of generic JAXB class generation. This doesn't appear to be the cause of your MOXy based generation though. You are correct that the MOXyXJC class does not appear to be in the org.eclipse.moxy bundle, and I would have thought it should be there. I'm investigating this with the MOXy team and will let you know what we discover.
For now you could do the generic JAXB class generation and manually place the jaxb.properties into the generated package, and this should emulate the result you would get with the MOXyXJC based generation.
Another possible workaround would be to use the eclipselink.jar, as this contains all of MOXy, including the MOXyXJC class. You can easily set up a library with the eclipselink.jar by using the Downloadable Library feature from the Java Persistence project properties page. This can be seen by setting the JPA Implementation Type to "User Library". Look for the disk icon to the right of this area and select for a list of available pre packaged Eclipse Libraries that are available for download.
Back to the top