Open milliondreams opened 11 years ago
@milliondreams can you reproduce the issue on Linux or Mac as well or does it work there? FYI tested with
yo -version 1.0.0-rc.1.4
It works on linux... not sure about Mac though
Okay, could you please give some more information to the play, sbt and yo versions involved? Tested at my side with:
play --version sbt launcher version 0.12.2
play [...] play! 2.1.2 (using Java 1.7.0_25 and Scala 2.10.0),
yo --version 1.0.0-rc.1.4
I use, Play - 2.1.1 (2.2 from the source build) Yo - 1.0.4
sbt is 0.12.2 for Play 2.1.1 and 0.13 for 2.2.
I use sbt rather than the play command, can that be an issue. Will checkout later today....
Do you have any news from the sbt list?
I found some hints on the net to this issue. It could be an error in jline, which is also used by sbt and scala itself. https://issues.scala-lang.org/browse/SI-7703 https://issues.scala-lang.org/browse/SI-7061 https://github.com/jline/jline2/issues/103
Patrick, are you working on this? Probably you could post to jline and sbt user groups and get a response. I am sorry, am not much help on this. I don't use a Windows system. Will try to rope in other help too!
Same issue with play 2.2.1, sbt 0.13.
Fresh install of everything on windows 7. Cant interact with console at all. Cant even get out of it. need to kill window.
I get the same. Win 8, Play 2.2.2, scala 2.10.3, java 1.7. Same thing happens on both cmd & powershell. No way to interact with the console. Seems quite old, any news on this?
@pietrotull @potgieterdl
There have been some updates on this in JLine. In the Scala REPL issue here - https://issues.scala-lang.org/browse/SI-7703
It should now work with if you use -Djline.WindowsTerminal.directConsole as the JVM param in the script to start SBT.
Can you confirm this? and will be great if you could send a pull request adding a note to the documentation on how to get this working for windows.
Thanks for the tip. I'll give it a go when I get back to office next week.
@pietrotull @potgieterdl Please give the latest release 0.7.0 a try. Do use -Djline.WindowsTerminal.directConsole while starting sbt.
Also not working for me unfortunately, even with -Djline.WindowsTerminal.directConsole. Any ideas? It is simply unusable.
After #20 we now support yeoman commands on windows too.
We still have an issue when a yeoman command requires additional input from user.