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

startGroovy amended to use /bin/sh rather than requiring /bin/bash does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 1.5.7, 1.6-beta-2, 1.7-beta-1
    • None
    • None
    • None
    • Cygwin + Groovy trunk (also assumed to be problematic for 1.5.x and 1.6.x) -- only affects Cygwin executions.

    Description

      The new code to do argument hacking in startGroovy for Cygwin (that replace Bash specific stuff) seems not to work anything like expected:

      |> groovy -v
      /cygdrive/h/users/russel/lib/Java/groovy/bin/startGroovy: eval: line 227: syntax error near unexpected token `('
      /cygdrive/h/users/russel/lib/Java/groovy/bin/startGroovy: eval: line 227: `args0=cygpath (cygwin) 1.42.4.1 Path Conversion Utility Copyright 1998, 1999, 2000, 2001, 2002, 2003, 20
      04, 2005 Red Hat, Inc. Compiled on Jun 12 2008'
      Caught: java.lang.IllegalArgumentException: H:\users\russel\Progs\OddsByLanguage\Groovy (H:\users\russel\Progs\OddsByLanguage\Groovy) is a directory not a Groovy source file.
      |> 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            russel Dr. Russel Winder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: