-
Notifications
You must be signed in to change notification settings - Fork 27
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
latest 0.21-SNAPSHOT fails to compile sources that has @Generated annotation #208
Comments
It looks like it might be possible to add https://search.maven.org/artifact/javax.annotation/jsr250-api/1.0/jar as a dependency for your project instead of assuming that j2cl should add this class? In your case, the gwt-cldr project should list this jar as a dependency (and possibly its sources jar, so that j2cl can pick up the sources as well). |
I'm affected by this issue since I'm using the dominokit library within my project. Since the library hasn't been updated yet I can't update to version 0.21.0 of j2cl maven plugin. I tried to add a dependency to the jsr-250 api as well as its sources to my project but still the issue persists. Is there any workaround available? |
@niloc132 I just tried to update to j2cl version 0.22.0 but this issue persists. Is there any workaround available or do I have to wait for an update of |
This isn't explicitly fixed by the j2cl-maven-plugin (at this time, though we could potentially patch it into our fork of j2cl itself...), but instead should be a dependency of the library that has generated code in it - so yes, that might be a new release of domino's gwt-cldr fork. @vegegoku what do you think? |
I agree, I can work on that. |
I think the issue is closed with domino-jackson 1.0.2/gwt-cldr 1.0.1. I finally switched to j2cl-maven-plugin 0.22.0 and everything compiles flawlessly. |
Testing the the plugin version 0.21-SNAPSHOT result in a lot of errors while running j2cl:watch over sources that have the
javax.annotation.Generated
annotationThe text was updated successfully, but these errors were encountered: