which Java version are you using?
The current release of Buildr for Ruby may not work well with Java 6, only
Java 1.5 or earlier. If you need to use Java 6, consider Buildr for
JRuby<http://buildr.apache.org/getting_started.html#jruby>
.

Alexis


On Wed, Jan 28, 2009 at 9:41 AM, Chris Taylor <[email protected]> wrote:

> I've installed the latest Ruby, upgraded the buildr gem to 1.3.3 and then
> try to build Ode trunk.
>
> Am getting the following error (any ideas on this?):
>
> [Failed] Your build failed with an error: C:/developer/ode_build/trunk:
> can't create Java VM
> buildr aborted!
> ←[31mcan't create Java VM←[0m
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/java/rjb.rb:114:in
> `load'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/java/rjb.rb:114:in
> `load'
>
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/java/packaging.rb:574:in`before_define'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:630:in
> `call'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:630:in
> `call_callbacks'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:630:in
> `each'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:630:in
> `call_callbacks'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:216:in
> `send'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:216:in
> `define'
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:544:in `call'
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:544:in `execute'
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:623:in
> `execute'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:190:in
> `switch_to_namespace'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:622:in
> `execute'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:482:in
> `invoke_with_call_chain'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in
> `synchronize'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in
> `invoke_with_call_chain'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:463:in
> `invoke'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/util.rb:168:in
> `__send__'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/util.rb:168:in
> `to_proc'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:280:in
> `each'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:280:in
> `projects'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:861:in
> `projects'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/project.rb:868
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
> C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:482:in
> `invoke_with_call_chain'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in
> `synchronize'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:468:in
> `invoke_with_call_chain'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:463:in
> `invoke'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:169:in
> `run'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:321:in
> `standard_exception_handling'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/lib/buildr/core/application.rb:161:in
> `run'
> C:/Ruby/lib/ruby/gems/1.8/gems/buildr-1.3.3/bin/buildr:20
> C:/Ruby/bin/buildr:19:in `load'
> C:/Ruby/bin/buildr:19
>
>
>

Reply via email to