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

-cp option don't works on Windows's groovy.bat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0-beta-6
    • 1.0-beta-8
    • None
    • None
    • Windows XP SP1

    Description

      "-cp" option don't works on Windows XP "groovy.bat".

      The reason is, windows XP's shift command don't
      affect variable %* at all.

      I changed line 73 of groovy.bat from:
      set CMD_LINE_ARGS=%*
      to
      set CMD_LINE_ARGS=%1 %2 %3 %4 %5 %6 %7 %8 %9
      .
      it seems to work well.

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            uehara UEHARA Junji
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: