groovy
  1. groovy
  2. GROOVY-3153

groovy, groovysh, groovyconsole, etc Cannot use spaces in supplied classpath -cp

    Details

    • Number of attachments :
      0

      Description

      appears to be broken in groovy 1.5.7 and in 1.6-beta-2

      C:_sources\src - xxxx yyyy>groovy -cp "C:_deployments\xxxx yyyy\temp_build" groovylink.groovy
      Caught: java.io.FileNotFoundException: C:_sources\src - xxxx yyyy\yyyy\temp_build groovylink.groovy (C:_sources\src - xxxx yyyy\yyyy\temp_build groovylink.groovy)
      

      notice that what I entered for the classpath has a space between the xxxx and the yyyy (the file not found message is mangling the path even more)

        Activity

        Hide
        Paul King added a comment -

        Removed help message issues from title as that is already covered in GROOVY-1525

        Show
        Paul King added a comment - Removed help message issues from title as that is already covered in GROOVY-1525
        Hide
        Pascal Schumacher added a comment -
        cptest.groovy
        println org.apache.log4j.Category.class
        
        D:\>D:\groovy-2.1.0-SNAPSHOT\bin\groovy.bat -cp "D:\log4j 1.2.17\log4j-1.2.17.jar" cptest.groovy
        class org.apache.log4j.Category
        

        works for me under Windows XP using 2.1.0 SNAPSHOOT. Perhaps GROOVY-5191 also fixed this?

        Show
        Pascal Schumacher added a comment - cptest.groovy println org.apache.log4j.Category.class D:\>D:\groovy-2.1.0-SNAPSHOT\bin\groovy.bat -cp "D:\log4j 1.2.17\log4j-1.2.17.jar" cptest.groovy class org.apache.log4j.Category works for me under Windows XP using 2.1.0 SNAPSHOOT. Perhaps GROOVY-5191 also fixed this?
        Hide
        blackdrag blackdrag added a comment -

        as per user comment I close the issue for now. We can reopen it any time

        Show
        blackdrag blackdrag added a comment - as per user comment I close the issue for now. We can reopen it any time

          People

          • Assignee:
            Paul King
            Reporter:
            Levi Yourchuck
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: