Re: [Jruby-devel] Speculate with me [test] - is it just me?

2006-07-13 Thread Tim Azzopardi
Probably run the testErraticBehavior script 50 times. No fails yet.. Then I resynced with trunk. Now I get this ... C:\dev\jruby\jruby\test>jruby aaa.rb Using CLASSPATH: C:\dev\jruby\jruby\lib\jvyaml.jar;C:\dev\jruby\jruby\lib\plaincharset.jar;C:\dev\jruby\jruby\lib\asm-2.2.2.jar;C:\dev\jruby\

Re: [Jruby-devel] unit test code coverage

2006-07-13 Thread Tim Azzopardi
Nick Sieger wrote: > On 7/13/06, *Tim Azzopardi* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > I was thinking of doing something on unit test code coverage in > build.xml > > Obvious choices are Cobertura or Emma. I've had so

[Jruby-devel] unit test code coverage

2006-07-13 Thread Tim Azzopardi
I was thinking of doing something on unit test code coverage in build.xml Obvious choices are Cobertura or Emma. I've had some (positive) experience of both. Emma has partial line coverage. Cobertura has prettier reports. Otherwise both lead the field in free java coverage tools. Anybody got an

[Jruby-devel] JRUBY-4 patch

2006-07-13 Thread Tim Azzopardi
.java (revision 2120) +++ src/org/jruby/RubyHash.java (working copy) @@ -20,6 +20,7 @@ * Copyright (C) 2004 Stefan Matthias Aust <[EMAIL PROTECTED]> * Copyright (C) 2005 Charles O Nutter <[EMAIL PROTECTED]> * Copyright (C) 2006 Ola Bini <[EMAIL PROTECTED]> + * Copyright (C) 200

[Jruby-devel] Added very minor bug JRUBY-4 to codehaus

2006-07-11 Thread Tim Azzopardi
I seem to have permission to add bugs on codehaus. (I have a very old codehaus account). Hope thats ok? http://jira.codehaus.org/browse/JRUBY-4 "RubyHash entrySet().iterator().next() failure [fix pending]" Its an old s/f bug that I posted 6 months ago http://sourceforge.net/tracker/index.php?fu

Re: [Jruby-devel] Gathering changes for 0.9.0, plans for the summer

2006-05-25 Thread Tim Azzopardi
Charles O Nutter wrote: Actually, it looks like anon CVS is up and working at the new hostname. Give it a try, and let us know if it appears out-of-date or if you have any other issues with it: :pserver:[EMAIL PROTECTED] :/cvsroot/jruby Thanks, seems to be working fine and up to date at fir

Re: [Jruby-devel] Gathering changes for 0.9.0, plans for the summer

2006-05-25 Thread Tim Azzopardi
e euphoria of JavaOne. Please switch to something that works soon! - Tim Charles O Nutter wrote: Tom and I are starting the process of gathering and merging changes for an upcoming 0.9.0 release. This will include all recent fixes. If you have code you've been waiting to submit, now is the

Re: [Jruby-devel] Suggestion for an ENV implementation

2006-03-29 Thread tim
Try jruby -e "puts ENV['JAVA_HOME']" jruby -e "puts ENV['JRUBY_HOME']" etc or jruby -e "puts ENV_JAVA['java.home']" jruby -e "puts ENV_JAVA['java.version']" etc --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language th

Re: [Jruby-devel] Suggestion for an ENV implementation

2006-03-29 Thread Tim Azzopardi
MAIL PROTECTED]> * Copyright (C) 2004 Stefan Matthias Aust <[EMAIL PROTECTED]> + * Copyright (C) 2006 Tim Azzopardi <[EMAIL PROTECTED]> * * Alternatively, the contents of this file may be used under the terms of * either of the GNU General Public License Version 2 or later (t

Re: [Jruby-devel] YAML-problem.

2006-03-24 Thread Tim Azzopardi
Its part of a a standard c-ruby distribution ruby\lib\ruby\1.8\yaml\emitter.rb possibly picked up by your RUBY_HOME It may be being accessed emitter.rb.ast.ser depending on how you are runing jruby. Ola Bini wrote: Hi, The error that makes my post-install.rb of RubyGems to stop can be found in

Re: [Jruby-devel] Suggestion for an ENV implementation

2006-02-14 Thread Tim Azzopardi
on the side of failing silently. How to unit test this stuff is not obvious as it is all fundamentally environment dependent. On holiday to for 5 days so communication may be slow. Cheers Tim Index: src/org/jruby/OSEnvironmentFromFile.java =

Re: [Jruby-devel] Suggestion for an ENV implementation

2006-02-14 Thread Tim Azzopardi
Neil, This is a very good point. I think this means that the Runtime.exec() approach is a last resort solution compared to the others. Tim Galarneau, Neil wrote: It seems to me that the Runtime.exec() approach is not guaranteed to find the actual value of the environment variable, only some

Re: [Jruby-devel] Suggestion for an ENV implementation

2006-02-07 Thread tim
Ok, I'll give it a go unless you want to look at it(?) Probably will not be able to look at it before at least the weekend though. Quoting Charles O Nutter <[EMAIL PROTECTED]>: > I think you're spot on with your concerns about the -D env string > passed in via the startup script; at a minimum we

Re: [Jruby-devel] Suggestion for an ENV implementation

2006-02-05 Thread Tim Azzopardi
Thanks for the replies. A few initial thoughts. > Charlie and I were talking about this email yesterday afternoon and > we were hoping to not have those system-dependent callouts/heuristics in here. Understand > The other solution we thought of was passing an env string in as > a system proper

Re: [Jruby-devel] Merging cnutter_work1 to HEAD

2006-02-03 Thread Tim Azzopardi
Doesn't break anything here. Charles O Nutter wrote: I'm about to merge cnutter_work1 to HEAD. There are still the two fixmes outstanding, but they're not really affecting anything visible. They need to be fixed, but we're going ahead with the merge anyway. Attached is the patch for everything

[Jruby-devel] Suggestion for an ENV implementation

2006-02-02 Thread Tim Azzopardi
g low priority distraction from the hard core stuff going on at the moment. Cheers all Tim --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes s

Re: [Jruby-devel] Building from CVS head: get NPE on ASTSerializer serializing zlib.rb

2006-01-30 Thread Tim Azzopardi
Well this would explain it... C:\dev\DynamicFun\jruby\src\lib\ruby\1.8>jruby zlib.rb :[-1,-1]:[0,0]: zlib.rb:3: no . floating literal anymore; put 0 before dot (SyntaxError) C:\dev\DynamicFun\jruby\src\lib\ruby\1.8>ruby zlib.rb zlib.rb:4: no . floating literal anymore; put 0 before dot Z

[Jruby-devel] Building from CVS head: get NPE on ASTSerializer serializing zlib.rb

2006-01-30 Thread Tim Azzopardi
Is it just me? I'm getting an NPE in Eclipse 3.2M4 WinXP building jruby from CVS HEAD in the "Serialize Builin Files" builder on the new file zlib.rb. Note its easy to miss this error in eclipse as the second builder wipes the console output very quickly - disable the second builder to see the