Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.1
-
Fix Version/s: 1.7.3, 1.8-beta-1
-
Component/s: class generator
-
Labels:None
-
Number of attachments :
Description
Looking at org.codehaus.groovy.tools.javac.JavaStubGenerator (http://goo.gl/ob23) I see it doesn't generate annotations that are originally available in Groovy sources.
I think it causes those issues later:
- http://jira.codehaus.org/browse/GMAVEN-68 - "GMaven: generateStubs generates stubs without original Javadocs or annotations"
- http://jira.codehaus.org/browse/GMAVEN-4 - "GMaven: Stub generation should generate annotations"
I'm trying to use AnnoMojo annotations (http://goo.gl/rbRw) when developing my MOJOs in Groovy.
GMaven's "generateStubs" goal doesn't produce Java sources with original AnnoMojo annotations
Issue Links
Activity
Paul King
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | groovy4118_JavaStubGenerator_annotations.patch [ 49467 ] |
Paul King
made changes -
| Fix Version/s | 1.8-beta-1 [ 16013 ] | |
| Fix Version/s | 1.7.3 [ 16356 ] |
Paul King
made changes -
| Attachment | groovy4118_JavaStubGenerator_annotations_B.patch [ 49526 ] |
Guillaume Laforge
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Jochen Theodorou [ blackdrag ] | Paul King [ paulk ] |
| Resolution | Fixed [ 1 ] |
Evgeny Goldin
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
Roshan Dawrani
made changes -
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Potential patch