You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed this locally by setting the bindingFiles property again in fun doCodeGeneration(): bindingFiles = getXjcExtension().bindingFiles
Also changed class member bindingFiles from val to var for my test.
The text was updated successfully, but these errors were encountered:
I think it's a Problem with all FileCollections.
We can't set the xsdFiles parameter. If we set only one xsd file here, it uses all xsd files (the default value).
bindingFiles property is always empty in https://github.com/bjornvester/xjc-gradle-plugin/blob/master/src/main/kotlin/com/github/bjornvester/xjc/XjcTask.kt
Example configuration:
xjc { xsdDir = file("${projectDir}/src/main/resources/") bindingFiles = files("${projectDir}/src/main/resources/my-bindings.xjb") }
I fixed this locally by setting the bindingFiles property again in
fun doCodeGeneration()
:bindingFiles = getXjcExtension().bindingFiles
Also changed class member bindingFiles from val to var for my test.
The text was updated successfully, but these errors were encountered: