Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-RC1
-
Fix Version/s: 2.3-M2
-
Component/s: Build System
-
Labels:
-
Environment:Windows 7 SP1 on Intel Core i5
Cygwin
Grails 2.0.0.RC1
Groovy 1.9.0-beta-4
Java 1.7.0_01
Description
I have been trying to use latest Grails on Windows 7 SP1, Core i5, Cygwin - but the grails scripts are not accepting user input... it just hangs there waiting, even though I type 'y' to the question. When you CTRL-C, bash thinks the 'y' has been typed as the next command. (Everything was OK on 1.3.7 and 1.4.0.M1)
[03/11/2011 @ 21:58 - just tried 2.0.0.RC1 in Command Window and all OK, so this is an issue interacting in Cygwin/Bash. I also just dropped grails back to 1.4.0.M1 and Cygwin/Bash works OK. This issue is important to me as I am in a locked down environment and am blocked from using Command Window]
$ which grails /cygdrive/c/devenv/grails/grails-2.0.0.RC1/bin/grails Gordon@GordonLaptop /cygdrive/c/Users/Gordon/Documents/src/grails/recoup $ which groovy /cygdrive/c/devenv/groovy/groovy-1.9.0-beta-4/bin/groovy Gordon@GordonLaptop /cygdrive/c/Users/Gordon/Documents/src/grails/recoup $ java -version java version "1.7.0_01" Java(TM) SE Runtime Environment (build 1.7.0_01-b08) Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing) Gordon@GordonLaptop /cygdrive/c/Users/Gordon/Documents/src/grails/recoup $ grails create-domain-class Depot | Loading Grails 2.0.0.RC1 | Configuring classpath | Configuring classpath. | Environment set to development | Environment set to development. | Environment set to development.. | Environment set to development... | Environment set to development.... | Environment set to development..... You currently already have a version of the plugin installed [resources-1.0.2]. Do you want to update to [resources-1.1.1]? [y,n] y
Any pointers / suggestions cos I am pulling my hair out...
I am also seeing this problem on Cygwin on Win7. Specifically, using the "Cygwin Terminal" provided by a brand new install of Cygwin (rather than older Cygwin terminal emulator approaches - though I haven't tried them), I can type grails to go into interactive mode, but then anything I type is ignored and when I give up and ctrl-C to escape grails, it then runs the text I typed as the command prompt. So something's not hooked up right. This is indeed a bit of a problem for Windows developers, though I can workaround it by using a normal Windows cmd prompt.