Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EclipseLink/Examples/MOXy/JaxbClassGen
< EclipseLink | Examples | MOXy
The JAXB compiler can be run to generate JAXB annotated Java classes from an XML Schema. The following are examples of the most common usage:
<ECLIPSELINK_HOME>/eclipselink/bin/jaxb-compiler.sh example.xsd -d targetDirectory
<ECLIPSELINK_HOME>\eclipselink\bin\jaxb-compiler.cmd example.xsd -d targetDirectory
For more detailed compiler options:
<ECLIPSELINK_HOME>/eclipselink/bin/jaxb-compiler.sh -help
<ECLIPSELINK_HOME>\eclipselink\bin\jaxb-compiler.cmd -help
See Developing JAXB Applications Using EclipseLink MOXy for more information.