rackerlabs / gradle-jaxb-plugin

Gradle plugin to ease projects that use xsds and the ant jaxb task
GNU General Public License v2.0
34 stars 23 forks source link

Question: Generate .class files from .xsd files #4

Closed robachmann closed 7 years ago

robachmann commented 7 years ago

Hi William, I'd like to replace my ant/javac task with this plugin. Is there a possibility to generate .class files from the provided .xsd files? The generated .java files in build/generated-sources/**.*.java should be compiled to build/classes/jaxb.

Thank you very much and best regards Roman

wdschei commented 7 years ago

@robachmann ,

The way my team does this is by adding the generated-sources to the Java source directories. Take a look at it here:

Kindest regards, Bill

wdschei commented 7 years ago

I'm going to take silence as consent on this one and close it.