
Glimpse uses JAXB to generate unmarshaled Java classes from Google DSPL XML files.

The following instructions detail how to automatically regenerate the classes in the
com.metsci.glimpse.support.dspl.schema package.

For more information on DSPL see:

http://code.google.com/apis/publicdata/docs

https://code.google.com/p/dspl/

--------------------------------------------------------------------------------------------------

Download the JAXB binaries from:

http://jaxb.java.net/2.2.3u1/

--------------------------------------------------------------------------------------------------

Generate JAVA XML bindings using the JAXB binding compiler run:

NOTE: relative paths may need to be adjusted depending on the location of the xjc.sh script

xjc.sh -extension -Xinject-code -d src/main/java -b src/main/resources/dspl/bindings.xjb src/main/resources/dspl/dspl.xsd

To generate the DSPL-LITE bindings, run:

xjc.sh -extension -Xinject-code -d src/main/java -b src/main/resources/dspl/bindings-lite.xjb src/main/resources/dspl/dspl-lite.xsd

--------------------------------------------------------------------------------------------------