I am using rackerlabs/gradle-jaxb-plugin to generate classes from schema. I am using a super interface com.test.xsd.Element. Using xjb I am configuring the interface. This interface is in my current project src/main/java location. Jaxb classes generating successfully and Implementing the interface. but compilation fails with “com.test.xsd” package does not exist. import com.test.xsd.Element.Element; how we can add this interface to class path.
sreekanthp (Sreekanth P) #1
sreekanthp (Sreekanth P) #2
Finlly done with ant task with gradle. That is very flexible, I think. we can generate classes from multiple xsds and multiple binding files from different location.
org.openrepose.gradle.plugins.jaxb bit difficult to manage