groovy
  1. groovy
  2. GROOVY-4942

groovy.bat can't run if PATH contains parentheses

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.2, 1.9-beta-3
    • Labels:
      None
    • Environment:
      Windows 7 Home Edition Premiun
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      JAVA_HOME not defined.

      PATH contains ")" character(Windows 7 default Path).

      C:\Dev\Apps\groovy-1.8.0\bin>echo %PATH%
      C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x8
      6)\Common Files\Microsoft Shared\Windows Live;C:\windows\system32;C:\windows;
      C:\Program Files\Java\jre7\bin
      

      groovy and goovysh can't run.

      C:\Dev\Apps\groovy-1.8.0\bin>groovy -v
      \Common was unexpected at this time.
      

      Windows batch command "for" can't treat a string contains ")".

        Activity

        Hide
        blackdrag blackdrag added a comment -

        Paul, could you test the patch?I don't have a windows box ready

        Show
        blackdrag blackdrag added a comment - Paul, could you test the patch?I don't have a windows box ready
        Hide
        Paul King added a comment -

        patch applied, thanks

        Show
        Paul King added a comment - patch applied, thanks

          People

          • Assignee:
            Paul King
            Reporter:
            Eiji Ito
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: