Groovy
  1. Groovy
  2. GROOVY-4711

Standalone stub generation task fails resolving classes

    Details

    • Flags:
      Patch

      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.

      1. generateStubs.patch
        2 kB
        Jochen Theodorou

        Activity

        Peter Gromov created issue -
        Jochen Theodorou made changes -
        Field Original Value New Value
        Attachment generateStubs.patch [ 54104 ]
        Jochen Theodorou made changes -
        Attachment generateStubs.patch [ 54105 ]
        Jochen Theodorou made changes -
        Attachment generateStubs.patch [ 54104 ]
        Jochen Theodorou made changes -
        Fix Version/s 1.9-beta-1 [ 17153 ]
        Fix Version/s 1.8.1 [ 17223 ]
        Patch Submitted [Yes]
        Guillaume Delcroix made changes -
        Fix Version/s 1.8.1 [ 17223 ]
        Fix Version/s 1.8.2 [ 17495 ]
        Guillaume Delcroix made changes -
        Fix Version/s 1.9-beta-2 [ 17494 ]
        Fix Version/s 1.9-beta-1 [ 17153 ]
        Jochen Theodorou made changes -
        Resolution Fixed [ 1 ]
        Assignee Jochen Theodorou [ blackdrag ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.7.11 [ 17244 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12733641 ] Default workflow, editable Closed status [ 12745432 ]
        Mark Thomas made changes -
        Flags Patch [ 10430 ]
        Patch Submitted Yes [ 10763 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12971148 ] Default workflow, editable Closed status [ 12978926 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development