rawr/rawr — Issue #5: cannot find symbol
Author: pronix
Created: 2011-12-25 18:21:17+00:00
State: open

rake rawr:jar
mkdir -p package/classes/java
javac -target 1.6 -cp lib/java/jruby-complete.jar:src -sourcepath src -d package/classes/java src/org/rubyforge/rawr/Main.java
src/org/rubyforge/rawr/Main.java:20: cannot find symbol
symbol : method setArgv(java.lang.String[])
location: class org.jruby.RubyInstanceConfig
config.setArgv(args);
^
src/org/rubyforge/rawr/Main.java:21: initialize(java.util.List) in org.jruby.javasupport.JavaEmbedUtils cannot be applied to (java.util.ArrayList,org.jruby.RubyInstanceConfig)
Ruby runtime = JavaEmbedUtils.initialize(new ArrayList(0), config);
^
src/org/rubyforge/rawr/Main.java:49: cannot find symbol
symbol : method evalScriptlet(java.lang.String)
location: class org.jruby.Ruby
runtime.evalScriptlet("require '" + mainRubyFile + "'");
^
3 errors
rake aborted!
Command failed with status (1): [javac -target 1.6 -cp lib/java/jruby-compl...]

Tasks: TOP => rawr:jar => package/jar/ttt.jar => package/classes/java/org/rubyforge/rawr/Main.class
(See full trace by running task with --trace)