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

Import class does not work with if the imported script is named as 'XXX.gvy' instead of 'XXX.groovy'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-JSR-5
    • 1.0-JSR-6
    • None
    • None
    • I have tested under Windows 2000 Server,
      but I think it exists for other OS as well

    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]

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            huxili Huxi LI
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: