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

toString, equals, hashcode #38

Closed
ianbarile opened this issue Jul 20, 2015 · 4 comments
Closed

toString, equals, hashcode #38

ianbarile opened this issue Jul 20, 2015 · 4 comments

Comments

@ianbarile
Copy link

Would be great to support the following "toString, equals, hashcode" similar to jaxb2basics plugn

https://github.com/highsource/jaxb2-basics/wiki/Using-JAXB2-Basics-Plugins

@scubacabra
Copy link
Owner

@ianbarile
Copy link
Author

Tried that. doesn't seem to support it.

**** error ****

  • Where:
    Build file '/Users/ian/source/git/lendsnow/server/projects/transaction/build.gradle' line: 87

  • What went wrong:
    A problem occurred evaluating project ':transaction'.

    Could not find property 'Xequals' on org.gradle.jacobo.plugins.extension.XjcExtension_Decorated@798deee8.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

***** snippet from build.gradle ******
jaxb {
xsdDir = "${name}/schema/"
episodesDir = "${buildDir}/schema"
bindingsDir = "${name}/schema/bindings"
xjc {
destinationDir = "../build/transaction/generatedsrc/"
taskClassname = "org.jvnet.jaxb2_commons.xjc.XJC2Task"
args = ["-Xannotate", -Xequals, -XhashCode, -XtoString]
}
}

@scubacabra
Copy link
Owner

 args = ["-Xannotate", -Xequals, -XhashCode, -XtoString]

Needs to be

 args = ["-Xannotate", "-Xequals", "-XhashCode", "-XtoString"]

@ianbarile
Copy link
Author

Thanks.

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

2 participants