Jump to: navigation, search

Difference between revisions of "EclipseLink/Examples/MOXy/JaxbClassGen"

m (xref to elug)
m
 
Line 11: Line 11:
  
  
See [[Introduction_to_XML_Projects_%28ELUG%29#EclipseLink_Support_for_Java_Architecture_for_XML_Binding_.28JAXB.29|EclipseLink Support for JAXB]] in the ''[[EclipseLink/UserGuide|EclipseLink User's Guide]]'' for more information.
+
See ''[http://www.eclipse.org/eclipselink/documentation/ Developing JAXB Applications Using EclipseLink MOXy]'' for more information.

Latest revision as of 13:30, 30 January 2013

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.