groovy
  1. groovy
  2. GROOVY-4711

Standalone stub generation task fails resolving classes

    Details

    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      If you create a Java class (Foo) and a Groovy class (Bar extends Foo), and then run the stub generation Ant task (GenerateStubsTask), it'll fail because it now does all the phases up to semantic analysis which attempts to resolve all class references. AFAIU the stub generation is supposed to be run before Javac. So it should be prepared that some Java classes the Groovy code depends on aren't compiled yet.

        Activity

        blackdrag blackdrag made changes -
        Field Original Value New Value
        Attachment generateStubs.patch [ 54104 ]
        blackdrag blackdrag made changes -
        Attachment generateStubs.patch [ 54105 ]
        blackdrag blackdrag made changes -
        Attachment generateStubs.patch [ 54104 ]
        blackdrag blackdrag made changes -
        Fix Version/s 1.8.1 [ 17223 ]
        Fix Version/s 1.9-beta-1 [ 17153 ]
        Patch Submitted [Yes]
        Guillaume Laforge made changes -
        Fix Version/s 1.8.2 [ 17495 ]
        Fix Version/s 1.8.1 [ 17223 ]
        Guillaume Laforge made changes -
        Fix Version/s 1.9-beta-2 [ 17494 ]
        Fix Version/s 1.9-beta-1 [ 17153 ]
        blackdrag blackdrag made changes -
        Fix Version/s 1.7.11 [ 17244 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Jochen Theodorou [ blackdrag ]

          People

          • Assignee:
            blackdrag blackdrag
            Reporter:
            Peter Gromov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: