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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-beta-1, 2.5.7, 2.4.17
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: