Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/Examples/MOXy/JaxbClassGen

< EclipseLink‎ | Examples‎ | MOXy
Revision as of 13:30, 30 January 2013 by Unnamed Poltroon (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Back to the top