Can't get buildr to work with SoyLatte
--------------------------------------
Key: BUILDR-173
URL: https://issues.apache.org/jira/browse/BUILDR-173
Project: Buildr
Issue Type: Bug
Reporter: Marc Lee
As per issue https://issues.apache.org/jira/browse/BUILDR-98, it fails when it
tries to javac.
I have tried in both JRuby 1.1.4 and 1.1.3.
marc:(git)puge.git[master]/$ echo $JAVA_HOME
/usr/local/soylatte16
marc:(git)puge.git[master]/$ java -version
java version "1.6.0_03-p3"
Java(TM) SE Runtime Environment (build
1.6.0_03-p3-landonf_19_aug_2008_14_55-b00)
Java HotSpot(TM) Server VM (build 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00,
mixed mode)
marc:(git)puge.git[master]/$ jruby -v
jruby 1.1.3 (ruby 1.8.6 patchlevel 114) (2008-07-20 rev 7243) [i386-java]
# TRACE LOG
Compiling PlayupGameEngine into
/Users/marc/Documents/workspace/playup/puge.git/target/classes
javac -classpath #{huge list of files}
cannot load Java class com.sun.tools.javac.Main
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/java/compilers.rb:68:in
`method_missing'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/java/compilers.rb:68:in
`compile'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/compile.rb:227:in
`initialize'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:544:in `call'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:544:in `execute'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:388:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:379:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/compile.rb:384:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:385:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:379:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/test.rb:445:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:385:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:379:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:385:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:379:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:385:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:379:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:385:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:379:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in
`invoke_prerequisites'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:385:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:379:in
`invoke_with_call_chain'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:374:in
`invoke'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in
`invoke_task'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
`top_level'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
`top_level'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
`standard_exception_handling'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in
`top_level'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:180:in
`run'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
`standard_exception_handling'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:174:in
`run'
/opt/jruby_1.1.3/lib/ruby/1.8/benchmark.rb:293:in `measure'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/lib/buildr/core/application.rb:173:in
`run'
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/bin/buildr:21
/opt/jruby_1.1.3/lib/ruby/gems/1.8/gems/buildr-1.3.2-java/bin/buildr:19:in
`load'
/opt/jruby/bin/buildr:19
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.