Open rgenna opened 8 years ago
Totally agree, in case of multi-project build it must be 'project.projectDir' instead of root project location
You can check out our fork which handles all of this correctly. it also is thread safe for building in parallel, as well as a number of other enhancements. https://github.com/rackerlabs/gradle-jaxb-plugin
@rgenna & @HasanSusam
The OpenRepose.org updated version of this plugin is now available in the Gradle Plugins repository and is compatible with JSE7.
We have a build env where we need to be able to configure an absolute paths for the xsdDir, episodesDir and bindingsDir. If you attempt to do this now the plugin appends the project.rootDir to the path even if it is already absolute. Also I would argue that in the case of a relative path appending project.rootDir is actually incorrect because in a multi-project build that location is the parent project which means the path always has to be relative to the parent project's directory and not the current project's directory. It probably should be project.projectDir instead.