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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0-JSR-2
    • 1.0-JSR-3
    • None
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment