>>> 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 set that might
> confuse JRuby? (GEM_HOME, RUBYOPT, JRUBY_HOME, etc).
Nope.
> - Try running with "ant -verbose" and paste/gist a partial build log?
Good idea, and I should have tried that before posting. Found a local change
was causing an error that was not being reported until using verbose.
To reset to a clean state I did a new checkout from git, followed immediately
by ant test without touching anything. Gets farther, but fails with a different
error. Gist at https://gist.github.com/1493247.
Problem seems to be at:
run-junit-interpreted-short:
[echo] compile=OFF, jit.threshold=20, jit.maxsize=1000000000, jit.max=-1,
objectspace=false threadpool=false reflection=false version=ruby1_8
[junit] Error occurred during initialization of VM
[junit] Incompatible minimum and maximum heap sizes specified
[junit] Testsuite: org.jruby.test.Batch-With-Multiple-Tests
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit]
[junit] Testcase: org.jruby.test.Batch-With-Multiple-Tests:null: Caused
an ERROR
[junit] Forked Java VM exited abnormally. Please note the time in the
report does not reflect the time until the VM exit.
[junit] junit.framework.AssertionFailedError: Forked Java VM exited
abnormally. Please note the time in the report does not reflect the time until
the VM exit.
[junit]
[junit]
BUILD FAILED
/Users/stu/tmp/jruby/build.xml:901: The following error occurred while
executing this line:
/Users/stu/tmp/jruby/build.xml:1022: The following error occurred while
executing this line:
/Users/stu/tmp/jruby/build.xml:966: Tests failed (crashed)