mvn scala:console doesn't respond

24 views
Skip to first unread message

johnu

unread,
Nov 26, 2008, 3:16:36 PM11/26/08
to Maven and Scala
When I run mvn scala:console I cannot get any response to my input.

I can type into the console but get no response when I press Enter -
expect that the cursor moves to the next line. It is as if none of the
entered text is being submitted for parsing or execution.

If I capture that command that maven is running and run it
independently, I get a working console.

Running on Windows 2000. The welcome message says: "Welcome to Scala
version 2.7.1.final (Java HotSpot(TM) Client VM, Java 1.6.0_10)". The
same problem occurs both in the windows console and in cygwin.

John

David Bernard

unread,
Nov 26, 2008, 3:37:25 PM11/26/08
to maven-a...@googlegroups.com
Hi,

Thanks for reporting the bug. I need some time to fix it (because I
develop and test on Linux where the bug doesn't exists).

/davidB

bryan hunt

unread,
Dec 11, 2012, 5:28:47 AM12/11/12
to maven-a...@googlegroups.com
Admittedly, I'm running on Linux, but otherwise a very similar stack.

This pom file works perfectly for me:

https://bitbucket.org/sentimental/poc_asm/src/874cf3b0e419332ddf64303e6514d5c51e237b98/scala-example/pom.xml?at=master

I have in the past had JLine (it's what handles the terminal history, keybinding, etc) issues on Windows (Cygwin bash).

Try a copy-paste of the configuration in that pom and see if it helps you.

Best Regards,

Bryan Hunt






On Tue, Dec 11, 2012 at 12:17 AM, Trevor <tre...@decide.com> wrote:
I have this same problem when using zsh.
On OSX, iTerm 2, zsh, latest maven, scala 2.9.2, scala-maven-plugin 3.1.0.

When I switched over to bash, it worked correctly.
Reply all
Reply to author
Forward
0 new messages