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

GroovyClassLoader is unable to load dependent scripts that have an absolute path containing whitespaces

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0-JSR-2
    • Fix Version/s: 1.0-JSR-3
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP SP2

      Description

      groovy.lang.GroovyClassLoader is unable to load dependent scripts that have an absolute path containing whitespaces.

      This is particularly visible on Windows where a user's documents are typically found under 'C:\Documents and Settings'.

      To reproduce this problem, try the following:

      1) create /tmp/documents and settings/sandbox/foo.groovy which depends on /tmp/documents and settings/sandbox/com/acme/bar.groovy
      2) run /tmp/documents and settings/sandbox/foo.groovy from within /tmp

        Attachments

          Activity

            People

            • Assignee:
              spullara Sam Pullara
              Reporter:
              franck_rasolo Franck Rasolo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: