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

.groovy filename extension is needlessly long; suggest using .gvy instead.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-beta-1, 2.5.7, 2.4.17
    • Fix Version/s: None
    • Component/s: Compiler

      Description

      The .gvy filename extension not only matches the conventional three-letter extension format, but it is already accepted by the groovy interpreter as a default filename extension to search for (in case of running scripts). However, it is not auto-detected by the compiler when seeking class files to include (for example, if "Game.gvy" and "Player.gvy" are in the same folder, and "Game.gvy" has a Player attribute, groovyc will not compile Game.gvy into a classfile due to a unrecognized "Player" class).

      I am currently working to have the .gvy filename extention officially recognized by the xdg shared-mime-info for Linux and similar desktops, and it may be wise to extend (pun unintended) the use of the shorter file extension in future releases.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              digital-diplomat Brennon Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: