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

JavaStubCompilationUnit.addSource() should allow other extensions

    XMLWordPrintableJSON

Details

    • 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

            guillaume Guillaume Sauthier
            keegan Keegan Witt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: