groovy
  1. groovy
  2. GROOVY-4248

CLONE -JavaStubGenerator doesn't generate annotations available in Groovy code - More Tests required

    Details

    • Number of attachments :
      0

      Description

      We made some progress on the original issue GROOVY-4118 and so we closed it for the 1.7.3 release. This issue captures remaining work, primarily some additional test cases.

      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:

      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

        Activity

        Paul King made changes -
        Field Original Value New Value
        Fix Version/s 1.7.X [ 15538 ]
        Fix Version/s 1.8-beta-1 [ 16013 ]
        Fix Version/s 1.7.3 [ 16356 ]
        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
        We made some progress on the original issue GROOVY-4118 and so we closed it for the 1.7.3 release. This issue captures remaining work, primarily some additional test cases.
        {quote}
        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
        {quote}
        blackdrag blackdrag made changes -
        Fix Version/s 1.8.x [ 15750 ]
        Fix Version/s 2.x [ 17013 ]
        Fix Version/s 1.7.x [ 15538 ]
        Guillaume Laforge made changes -
        Component/s Stub generator / Joint compiler [ 14523 ]
        Component/s class generator [ 10443 ]
        Pascal Schumacher made changes -
        Fix Version/s 1.8.x [ 15750 ]
        Fix Version/s 2.x [ 17013 ]
        Pascal Schumacher made changes -
        Fix Version/s 2.x [ 17013 ]
        Paul King made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 2.x [ 17013 ]
        Fix Version/s 2.4.0-beta-2 [ 20433 ]
        Fix Version/s 2.3.4 [ 20432 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Paul King
            Reporter:
            Evgeny Goldin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: