groovy
  1. groovy
  2. GROOVY-3209

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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 1.5.7, 1.6-beta-2, 1.7-beta-1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Cygwin + Groovy trunk (also assumed to be problematic for 1.5.x and 1.6.x) -- only affects Cygwin executions.
    • Number of attachments :
      0

      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.
      |> 
      

        Activity

        Hide
        Pascal Schumacher added a comment -

        Is this issue still open or can it be closed?

        Show
        Pascal Schumacher added a comment - Is this issue still open or can it be closed?
        Hide
        Pascal Schumacher added a comment -

        I'm closing this for now. If this issue still occurs please reopen. Thanks!

        Show
        Pascal Schumacher added a comment - I'm closing this for now. If this issue still occurs please reopen. Thanks!

          People

          • Assignee:
            Unassigned
            Reporter:
            Russel Winder
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: