Re: [jruby-dev] step 0: running the test suite

2011-12-18 Thread Stuart Halloway
>>> The property jruby.launcher.gem is empty when you run this. What does >>> default.build.properties say? >> >> build.lib.dir=build_lib >> jruby.launcher.gem=${build.lib.dir}/jruby-launcher-1.0.9-java.gem >> >> The gem file is present. > > - Do you have RVM or some other environment variables

Re: [jruby-dev] step 0: running the test suite

2011-12-18 Thread Stuart Halloway
> - Do you have RVM or some other environment variables set that might > confuse JRuby? (GEM_HOME, RUBYOPT, JRUBY_HOME, etc). > - Try running with "ant -verbose" and paste/gist a partial build log? > > Just throwing out more ideas. > > /Nick And the answer is: JAVA_OPTS. If you have a JAVA_OPTS

[jruby-dev] step 1: now test suite hangs

2011-12-18 Thread Stuart Halloway
run-junit-interpreted-short: [echo] compile=OFF, jit.threshold=20, jit.maxsize=10, jit.max=-1, objectspace=false threadpool=false reflection=false version=ruby1_8 [junit] Testsuite: org.jruby.test.ScriptTestSuite [junit] Tests run: 32, Failures: 0, Errors: 0, Time elapsed: 10.

Re: [jruby-dev] Blog post draft: JRuby and Java 7

2011-12-18 Thread Thomas E Enebo
Only two comments: 1. You should mention that each release of Java 7 will continue to add more optimizations for invokedynamic as something to pump people up even more. 2. 1.7 is not out yet and you mention that, but by the bottom it does sound like a released version. I am not sure what is to be

Re: [jruby-dev] Blog post draft: JRuby and Java 7

2011-12-18 Thread Charles Oliver Nutter
On Sat, Dec 17, 2011 at 8:38 PM, Hirotsugu Asari wrote: > Oracle has an official preview release of Java 7 for Mac OS > X: http://jdk7.java.net/macportpreview/ It is not clear to me what the > relationship is between this and the Google group's package. I've asked Henri Gomez, founder of openjdk-

Re: [jruby-dev] Blog post draft: JRuby and Java 7

2011-12-18 Thread Charles Oliver Nutter
On Sun, Dec 18, 2011 at 9:17 AM, Thomas E Enebo wrote: > Only two comments: > 1. You should mention that each release of Java 7 will continue to add > more optimizations for invokedynamic as something to pump people up > even more. I added a paragraph on that, and one calling out the fact that JR

Re: [jruby-dev] step 0: running the test suite

2011-12-18 Thread Nick Sieger
On Sun, Dec 18, 2011 at 6:34 AM, Stuart Halloway wrote: >> - Do you have RVM or some other environment variables set that might >> confuse JRuby? (GEM_HOME, RUBYOPT, JRUBY_HOME, etc). >> - Try running with "ant -verbose" and paste/gist a partial build log? >> >> Just throwing out more ideas. >> >

Re: [jruby-dev] Blog post draft: JRuby and Java 7

2011-12-18 Thread Charles Oliver Nutter
A better link, that will roll with commits: https://raw.github.com/jruby/blog.jruby.org/jruby_java_7/_posts/2011-12-19-getting_started_with_jruby_and_java_7.md - Charlie On Sun, Dec 18, 2011 at 11:26 AM, Charles Oliver Nutter wrote: > On Sun, Dec 18, 2011 at 9:17 AM, Thomas E Enebo wrote: >> On

Re: [jruby-dev] step 1: now test suite hangs

2011-12-18 Thread Yoko Harada
On Sun, Dec 18, 2011 at 8:03 AM, Stuart Halloway wrote: > run-junit-interpreted-short: >     [echo] compile=OFF, jit.threshold=20, jit.maxsize=10, jit.max=-1, > objectspace=false threadpool=false reflection=false version=ruby1_8 >    [junit] Testsuite: org.jruby.test.ScriptTestSuite >  

Re: [jruby-dev] step 1: now test suite hangs

2011-12-18 Thread Charles Oliver Nutter
Well, you're running into some interesting problems :) I concur with Yoko's recommendation to use Ctrl+\ to get a thread dump. You could also edit TestUnitTestSuite to log the tests as they're run and see which one it is. Obviously I don't get hangs and I'm on 10.6.8 and most current Apple Java. W

Re: [jruby-dev] step 0: running the test suite

2011-12-18 Thread Charles Oliver Nutter
On Sun, Dec 18, 2011 at 11:27 AM, Nick Sieger wrote: > Aha. That was going to be my next suggestion. Maybe we should warn if > that's set? Or unconditionally clear it? On the other hand, I have set JAVA_OPTS on occasion *expecting* it to pass through to test processes, so perhaps that's not a goo

[jruby-dev] [jira] (JRUBY-6283) Master crashes when calling an FFI-attached C library function

2011-12-18 Thread Chuck Remes (JIRA)
Chuck Remes created JRUBY-6283: -- Summary: Master crashes when calling an FFI-attached C library function Key: JRUBY-6283 URL: https://jira.codehaus.org/browse/JRUBY-6283 Project: JRuby Issue Ty

[jruby-dev] [jira] (JRUBY-6284) Calls to Kernel#exit result in an exception printed on stderr

2011-12-18 Thread Trejkaz (JIRA)
Trejkaz created JRUBY-6284: -- Summary: Calls to Kernel#exit result in an exception printed on stderr Key: JRUBY-6284 URL: https://jira.codehaus.org/browse/JRUBY-6284 Project: JRuby Issue Type: Bug

Re: [jruby-dev] Blog post draft: JRuby and Java 7

2011-12-18 Thread Hirotsugu Asari
On Dec 18, 2011, at 12:23 PM, Charles Oliver Nutter wrote: > On Sat, Dec 17, 2011 at 8:38 PM, Hirotsugu Asari wrote: >> * "pik" is a utility to manage multiple Java versions on >> Windows. https://github.com/vertiginous/pik > > I know pik can manage Ruby versions...does it also handle Java > v

Re: [jruby-dev] Blog post draft: JRuby and Java 7

2011-12-18 Thread Charles Oliver Nutter
On Sun, Dec 18, 2011 at 11:02 PM, Hirotsugu Asari wrote: > Ah. You are right about this. I must have been mixing up the two. It's good that you mentioned it...I included basic pik instructions in the "Getting JRuby" section. - Charlie