Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The xsdDir, episodesDir and bindingsDir do not accept absolute paths #48

Open
rgenna opened this issue Mar 7, 2016 · 3 comments
Open

Comments

@rgenna
Copy link

rgenna commented Mar 7, 2016

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.

@HasanSusam
Copy link

Totally agree, in case of multi-project build it must be 'project.projectDir' instead of root project location

@adrianjgeorge
Copy link

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

@wdschei
Copy link

wdschei commented Sep 9, 2016

@rgenna & @HasanSusam

The OpenRepose.org updated version of this plugin is now available in the Gradle Plugins repository and is compatible with JSE7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants