Console issues with Scala 2.9.2

113 views
Skip to first unread message

eugene yokota

unread,
Jul 25, 2012, 5:42:10 PM7/25/12
to simple-b...@googlegroups.com
Hi guys,

Using REPL from sbt is handy since it loads your code and deps into the classpath.
Some people use sbt just to load libraries. See for example a message from [ny-scala ML][1] today.

Currently using 0.12.0 RC4 console command doesn't work when Scala version is 2.9.2, which is the default Scala version.
I already submitted two related cases on gh issues.

- [console mode in Scala 2.9.2 does not display key input: Failed to created JLineReader](https://github.com/harrah/xsbt/issues/504)
- [sys.exit and exit do not work in console mode](https://github.com/harrah/xsbt/issues/505)

 Is anyone else seeing this behavior?

-eugene


Josh Suereth

unread,
Jul 26, 2012, 9:10:20 AM7/26/12
to simple-b...@googlegroups.com
not at all.  What platform are you on?


--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/58IDTdjyK-UJ.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.

eugene yokota

unread,
Jul 26, 2012, 9:59:01 AM7/26/12
to simple-b...@googlegroups.com
Hey Josh,

Thanks for checking.
I wiped out the boot directory and now #504 (Failed to created JLineReader) no longer happens.
Still seeing #505 (sys.exit doesn't exit) but it's not as big issue.

My environment:
Mac OS X 10.7.4
Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_33

-eugene

On Thursday, July 26, 2012 9:10:20 AM UTC-4, jsuereth wrote:
not at all.  What platform are you on?

On Wed, Jul 25, 2012 at 5:42 PM, eugene yokota <eed3...@gmail.com> wrote:
Hi guys,

Using REPL from sbt is handy since it loads your code and deps into the classpath.
Some people use sbt just to load libraries. See for example a message from [ny-scala ML][1] today.

Currently using 0.12.0 RC4 console command doesn't work when Scala version is 2.9.2, which is the default Scala version.
I already submitted two related cases on gh issues.

- [console mode in Scala 2.9.2 does not display key input: Failed to created JLineReader](https://github.com/harrah/xsbt/issues/504)
- [sys.exit and exit do not work in console mode](https://github.com/harrah/xsbt/issues/505)

 Is anyone else seeing this behavior?

-eugene


--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/58IDTdjyK-UJ.
To post to this group, send email to simple-build-tool@googlegroups.com.
To unsubscribe from this group, send email to simple-build-tool+unsubscribe@googlegroups.com.

Josh Suereth

unread,
Jul 26, 2012, 11:01:07 AM7/26/12
to simple-b...@googlegroups.com
Ah, I'm running in Ubuntu, so we have different JANSI DLLs being loaded most likely.

Also, my JDK is old: OpenJDK 64-Bit Server VM, Java 1.6.0_24)

To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/2_ZsV1R-q_wJ.

To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.

eugene yokota

unread,
Jul 26, 2012, 2:49:25 PM7/26/12
to simple-b...@googlegroups.com
Just experienced #504 (Failed to created JLineReader) with sbt 0.11.3 with the same 
hellowolrd build that worked with sbt 0.12.0 RC4. Clearing sbt 0.11.3's boot fixed it.

Maybe the boot somehow gets corrupted because the new launcher is able to boot
multiple versions of sbt?
I have a script for different versions of sbt with its own -Dsbt.global.base, but
if I accidentally run wrong script against a build with build.properties 0.11.3,
would that download 0.11.3 jars in to boot? 

-eugene

tigerfoot

unread,
Aug 14, 2012, 12:27:51 PM8/14/12
to simple-b...@googlegroups.com
I'm seeing this behavior on a Mac using the Unix launch script.
sbt commands work fine, e.g. "sbt clean compile", but just launching sbt (with no params) to get the REPL just dumps me back to the OS with no errors to the screen.

Greg

On Saturday, July 28, 2012 4:22:24 PM UTC-5, Evgeniy Platonov wrote:
I've seen that on windows 7 with oracle jdk 7

~
Eugene
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/2_ZsV1R-q_wJ.

To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages