Skip to content

Instantly share code, notes, and snippets.

@torstenwerner
Created September 19, 2016 11:19
Show Gist options
  • Save torstenwerner/6356975b759be96d88b527dfb559c395 to your computer and use it in GitHub Desktop.
Save torstenwerner/6356975b759be96d88b527dfb559c395 to your computer and use it in GitHub Desktop.
xjc in build.gradle
ant.xjc(schema: 'src/main/schema/PP/liberty-idsis-pp-v1.1.xsd',
destdir: generatedDir, extension: true, removeOldOutput: "yes") {
produces(dir: generatedDir) {
include(name: "liberty/disco/_2003_08/**/*.java")
include(name: "liberty/id_sis_pp/_2005_05/**/*.java")
include(name: "liberty/metadata/_2003_08/**/*.java")
include(name: "oasis/names/tc/saml/_1_0/assertion/**/*.java")
include(name: "org/w3/_2001/_04/xmlenc_/**/*.java")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment