Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5021

JavaStubCompilationUnit.addSource() should allow other extensions

    Details

    • Flags:
      Patch

      Description

      I noticed this while working on a replacement for GMaven. I think JavaStubCompilationUnit should allow other extensions such as ".gvy", ".gy", ".gsh" to be used when adding sources. This change in behavior was introduced with https://fisheye.codehaus.org/changelog/groovy?cs=18020. I think what we might want to do instead is blacklist ".java" rather than whitelist ".groovy". I've attached a patch demonstrating this.

        Attachments

          Activity

            People

            • Assignee:
              Guillaume Guillaume Delcroix
              Reporter:
              keegan Keegan Witt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: