[jruby-dev] Problem with test result

2007-10-22 Thread Wirianto Djunaidi
Hi, The latest checkout failed the *'ant test*' on running *test/testIO.rb *on line 150, but when I run *test/testIO.rb* manually it ran perfectly fine. the problem line has the following code: test_ok(File.delete(@file1,@file2,@file3)) I haven't figure out what's wrong, my initial guess will b

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-22 Thread Chris Nelson
Hmm... ok, I think I must have seen a change from Rails 1.2.5 here and gotten confused. In MRI it was stepping into ActiveRecord, but that was because it was Rails 1.2.3. Looks like it's working. Awesome! --Chris On 10/22/07, Peter Brant <[EMAIL PROTECTED]> wrote: > > Looks like that's actuall

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-22 Thread Peter Brant
Looks like that's actually the right thing to do. rdebug with MRI does the same thing. It's heading off into the Rails' implementation of Class#const_missing looking for Car. JRuby rdebug log attached. Pete On 10/23/07, Chris Nelson <[EMAIL PROTECTED]> wrote: > Doh! I should have updated jrub

[jruby-dev] [jira] Created: (JRUBY-1464) java.lang.ArrayIndexOutOfBoundsException - Exception in thread "Ruby Thread24338914"

2007-10-22 Thread Joe Mooney (JIRA)
java.lang.ArrayIndexOutOfBoundsException - Exception in thread "Ruby Thread24338914" Key: JRUBY-1464 URL: http://jira.codehaus.org/browse/JRUBY-1464 Project: JRuby

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-22 Thread Chris Nelson
Doh! I should have updated jruby-trunk before I did that, my bad. Yes, that was with the latest code in jruby-debug trunk. Just right now I was debugging a very simple restful controller list method. It fails consistently for me trying to step into Car.find(:all) -- it ends up stepping into dep

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-22 Thread Peter Brant
Cool. So was this with the latest and greatest (r315)? With the latest threading fixes, basic stepping (in / over) should work reasonably well. That it doesn't means we have more work to do, of course. Are there situations where it consistently fails? Pete P.S. Recent revisions of trunk use a

Re: [jruby-dev] jruby-debug stability, enabled in NetBeans (was Re: [jruby-dev] Obscure test/unit interaction problems)

2007-10-22 Thread Chris Nelson
Alrighty, I was able to test debugging rails inside of NetBeans and it (mostly) worked! Yay! Thanks to Peter's latest patches I was able to step inside of a controller (sometimes). So we're definitely moving along. One small suggestion: can we change the require 'ruby_debug.so' to require 'ruby

Re: [jruby-dev] implementing BasicObject

2007-10-22 Thread Bill Dortch
On 10/22/07, MenTaLguY <[EMAIL PROTECTED]> wrote: > > Hi guys, > > Last night I took a stab at implementing BasicObject; rewiring the > class bootstrap to include BasicObject took me about five minutes, > but I got stuck on how the method definitions themselves should be > handled. As far as I can

Re: [jruby-dev] Regular expression branch

2007-10-22 Thread Ola Bini
Matt Fletcher wrote: Ola, I'm using JRuby for a commercial, closed-source application, so I'm sensitive to the licenses of JRuby and the libraries it is dependent on. So far, so good...nothing terribly restrictive like GPL is required so far. I don't know exactly what REJ is, but from some

Re: [jruby-dev] Regular expression branch

2007-10-22 Thread Matt Fletcher
Ola, I'm using JRuby for a commercial, closed-source application, so I'm sensitive to the licenses of JRuby and the libraries it is dependent on. So far, so good...nothing terribly restrictive like GPL is required so far. I don't know exactly what REJ is, but from some quick searches it looks lik

[jruby-dev] implementing BasicObject

2007-10-22 Thread MenTaLguY
Hi guys, Last night I took a stab at implementing BasicObject; rewiring the class bootstrap to include BasicObject took me about five minutes, but I got stuck on how the method definitions themselves should be handled. As far as I can tell, there are two options: 1. separate RubyObject into Rub

[jruby-dev] Mongrel port blocked by JRUBY-1460 [Was: Obscure test/unit interaction problems]

2007-10-22 Thread Evan Weaver
This ticket http://jira.codehaus.org/browse/JRUBY-1460 is the only remaining problem with the JRuby mongrel port. Anyone have any thoughts? Thanks for all the assistance so far. Evan On 10/18/07, Evan Weaver <[EMAIL PROTECTED]> wrote: > Ok, couple of things. > > Errno::ECONNABORTED doesn't exis

Re: [jruby-dev] Regular expression branch

2007-10-22 Thread Ola Bini
Charles Oliver Nutter wrote: Ola Bini wrote: Not really. All gains would disappear from that, including heightened compatibility in most String methods. I don't think that's a good approach. Ahh, because of the byte[]/char[] thing. Makes sense. - Charlie Yes, but also all the mbc stuff that

Re: [jruby-dev] Regular expression branch

2007-10-22 Thread Charles Oliver Nutter
Ola Bini wrote: Not really. All gains would disappear from that, including heightened compatibility in most String methods. I don't think that's a good approach. Ahh, because of the byte[]/char[] thing. Makes sense. - Charlie ---

Re: [jruby-dev] Regular expression branch

2007-10-22 Thread Ola Bini
Charles Oliver Nutter wrote: Ola Bini wrote: Hi During the last days I've revived my REJ port of the MRI regular expression engine and integrated with trunk. The result is available in the jruby-reg branch. I'm mailing this out now, because at this point the engine runs the full JRuby test s

Re: [jruby-dev] Regular expression branch

2007-10-22 Thread Charles Oliver Nutter
Ola Bini wrote: Hi During the last days I've revived my REJ port of the MRI regular expression engine and integrated with trunk. The result is available in the jruby-reg branch. I'm mailing this out now, because at this point the engine runs the full JRuby test suite - plus several tests that

[jruby-dev] [jira] Created: (JRUBY-1463) Java deserialization through java-integration is broken in JRuby

2007-10-22 Thread Adam Glasgall (JIRA)
Java deserialization through java-integration is broken in JRuby Key: JRUBY-1463 URL: http://jira.codehaus.org/browse/JRUBY-1463 Project: JRuby Issue Type: Bug Compon

[jruby-dev] Regular expression branch

2007-10-22 Thread Ola Bini
Hi During the last days I've revived my REJ port of the MRI regular expression engine and integrated with trunk. The result is available in the jruby-reg branch. I'm mailing this out now, because at this point the engine runs the full JRuby test suite - plus several tests that JRuby trunk doe