Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0-JSR-5
-
Fix Version/s: 1.0-JSR-6
-
Component/s: None
-
Labels:None
-
Environment:I have tested under Windows 2000 Server,
but I think it exists for other OS as well
-
Number of attachments :
Description
For the JSR-05 release, importing classes defined in other scripts
works like charm if they are using extension 'groovy'.
However, I have problem to import classes if I named my scripts
as 'XXX.gvy ' - using the second standard extension instead of 'XXX.groovy'.
[Blackdrag's Comment: the loader does only look for .groovy... Maybe we should set the
extension in the compiler configuration, and then it will be
configurable throughout groovy]
you can now use CompilerConfiguration#setDefaultScriptExtension to change to ".gvy"