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

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

Line 1: Line 1:
 
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:
 
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>/bin/jaxb-compiler.sh Example.xsd -d target-directory
+
<ECLIPSELINK_HOME>/bin/jaxb-compiler.sh example.xsd -d targetDirectory
<br><ECLIPSELINK_HOME>\bin\jaxb-compiler.cmd Example.xsd -d target-directory
+
<br><ECLIPSELINK_HOME>\bin\jaxb-compiler.cmd example.xsd -d targetDirectory
  
  
Line 8: Line 8:
  
 
<ECLIPSELINK_HOME>/bin/jaxb-compiler.sh -help
 
<ECLIPSELINK_HOME>/bin/jaxb-compiler.sh -help
<ECLIPSELINK_HOME>\bin\jaxb-compiler.cmd -help
+
<br><ECLIPSELINK_HOME>\bin\jaxb-compiler.cmd -help

Revision as of 13:27, 22 October 2007

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>/bin/jaxb-compiler.sh example.xsd -d targetDirectory
<ECLIPSELINK_HOME>\bin\jaxb-compiler.cmd example.xsd -d targetDirectory


For more detailed compiler options try:

<ECLIPSELINK_HOME>/bin/jaxb-compiler.sh -help
<ECLIPSELINK_HOME>\bin\jaxb-compiler.cmd -help

Back to the top