Ruby Forum JRuby > jirb_swing (v1.1.1 on win32) output issues?

Posted by Jon Ma (jonm)
on 15.05.2008 18:13
(Received via mailing list)
Didn't find anything similar in the mail archives...after installing 
1.1.1 on a Win2K system, I can't get jirb_swing to give me output.

For example...

irb(main):001:0> puts "JRuby"
irb(main):002:0> n = 10; c = 32; n + c
irb(main):003:0>


while using jirb from the command line...

irb(main):001:0> puts "JRuby"
JRuby
=> nil
irb(main):002:0> n = 10; c = 32; n + c
=> 42
irb(main):003:0>


Likely something simple misconfigured on my end.  Anyone else seeing 
this?  Config fix suggestions?

Thanks, Jon

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Damian Steer (Guest)
on 15.05.2008 18:22
(Received via mailing list)
Jon wrote:
> Didn't find anything similar in the mail archives...after installing 1.1.1 on a Win2K system, I can't get jirb_swing to give me output.
> 
> For example...
> 
> irb(main):001:0> puts "JRuby"
> irb(main):002:0> n = 10; c = 32; n + c
> irb(main):003:0> 

Is the output appearing in the console you launched jirb_swing from?
There was certainly a bug there, and it's fixed in trunk.

Damian

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Jon Ma (jonm)
on 15.05.2008 18:29
(Received via mailing list)
On Thu, 15 May 2008 17:21:10 +0100
Damian Steer <pldms@mac.com> wrote:

> There was certainly a bug there, and it's fixed in trunk.
> 
> Damian

Ah, there's the output.

What files got fixed?  I think I'll just grab them and overwrite 1.1.1 
(assuming that will work) instead of getting the entire trunk as I'm 
just experimenting for the moment.

Thanks, Jon

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Damian Steer (Guest)
on 15.05.2008 18:40
(Received via mailing list)
Jon wrote:
> On Thu, 15 May 2008 17:21:10 +0100
> Damian Steer <pldms@mac.com> wrote:

>> Is the output appearing in the console you launched jirb_swing from? 
>> There was certainly a bug there, and it's fixed in trunk.
>>
>> Damian
> 
> Ah, there's the output.
> 
> What files got fixed?  I think I'll just grab them and overwrite 1.1.1 (assuming that will work) instead of getting the entire trunk as I'm just experimenting for the moment.
> 
> Thanks, Jon

src/org/jruby/demo/TextAreaReadline.java

If the simple replace doesn't work out getting trunk isn't too hard.

Damian



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Vladimir Sizikov (Guest)
on 15.05.2008 20:26
(Received via mailing list)
Hi Jon,

In case you're interested:
Regression: jirb_swing broken, prints out to the stdin, not to the GUI
http://jira.codehaus.org/browse/JRUBY-2445

The jira issue has the reference to the particular revision that
corrected the problem:
http://fisheye.codehaus.org/changelog/jruby?cs=6563

The fix will appear in soon-to-be-released JRuby 1.1.2.

Thanks,
  --Vladimir

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Jon Ma (jonm)
on 16.05.2008 01:16
(Received via mailing list)
Damian Steer wrote:
> 
> src/org/jruby/demo/TextAreaReadline.java
> 
> If the simple replace doesn't work out getting trunk isn't too hard.
> 
> Damian
> 

The overwrite-and-rebuild unsurprisingly didn't work, but I overcame the
Luddite gods long enough to type

svn co http://svn.codehaus.org/jruby/trunk/jruby/ .
ant

and I'm off and running again with jirb_swing.

Jon

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email