To use ota-schema-tools to create jibx files from the opentravel schema, follow these simple steps:
Edit the ota-schema-tools/config/[spec]/jibx/ota.xsd file to only include the schema that you want. (Where [spec] is the ota schema version ie., 2007A)
Add the jixb jars to your classpath, or edit the build.xml file and change the property jibx.home to point to the jibx home directory. Actually, the easiest way to run this utility is to change the ant line to read ant -Djibx.home=/usr/local/java/dev/jibx jibx where the directory is your jibx home directory.
it in the ota-schema-zip-files
directory, then type:
> export ANT_OPTS=-Xmx512m
> ant jibx
Your schema will be unzipped, organized, and cleaned up, compiled using jibx, and placed in a jar.