Skip to content

Instantly share code, notes, and snippets.

@jurberg
Created December 2, 2012 01:19
Show Gist options
  • Save jurberg/4186366 to your computer and use it in GitHub Desktop.
Save jurberg/4186366 to your computer and use it in GitHub Desktop.
Generate JAXB classes without jaxb-jxc on your classpath
Ant.java(classname: "com.sun.tools.internal.xjc.XJCFacade") {
arg(value: "-d")
arg(value: "src/java")
arg(value: "-p")
arg(value: "com.microsoft.books")
arg(value: "etc/schema/books.xsd")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment