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