Dylan
unread,Oct 9, 2011, 1:46:27 AM10/9/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rawr-lib
I seem to have lost the ability to package my monkeybars projects with
rawr. The jars created by netbeans under the dist folder open without
a problem, but when I try to run rawr:jar (and exe, too, but that
relies on the jar, so it was expected) the system hangs for a few
second, showing the "loading" mouse animation, and then stops as
though nothing happened.
The only thing I recall changing on my system, since I last
successfully packaged a project, is I've installed jruby1.6.4
Does rawr/monkeybars play well with JRuby1.6.4? Otherwise may it have
caused a problem in some file's location (e.g. JDE)? Java appears to
be fine when I run javac -version, and I just can't figure out what
could beoff. I've tried every version of monkeybars between 1.0.2 and
1.1.1, along with the past few versions of rawr (where applicable) and
none of them seem to fix it.
I could always just run the project from the dist folder, as I
mentioned earlier. It's not terribly bothersome, it's just confused
and frustrated me for a few hours.
I've included a trace of the output from " jruby -S rake rawr:jar --
trace " below:
** Invoke rawr:jar (first_time)
** Invoke package/jar/racekit.jar (first_time, not_needed)
** Invoke package/classes/java/org/rubyforge/rawr/Main.class
(first_time, not_ne
eded)
** Invoke src/org/rubyforge/rawr/Main.java (first_time, not_needed)
** Invoke package/classes/java (first_time, not_needed)
** Invoke package/classes/java/race/RaceUI.class (first_time,
not_needed)
** Invoke src/race/RaceUI.java (first_time, not_needed)
** Invoke package/classes/java (not_needed)
** Invoke package/classes/java/race/old (maybe useful code)/
raceTools.class (fir
st_time)
** Invoke src/race/old (maybe useful code)/raceTools.java (first_time,
not_neede
d)
** Invoke package/classes/java (not_needed)
** Execute package/classes/java/race/old (maybe useful code)/
raceTools.class
javac -target 1.6 -cp lib/java/jruby-complete.jar;lib/java/
monkeybars-1.0.4.jar;
lib/java/swing-layout-1.0.3.jar;src -sourcepath src -d package/classes/
java src/
race/old (maybe useful code)/raceTools.java
** Invoke package/classes/ruby/application_controller.class
(first_time)
** Invoke src/application_controller.rb (first_time, not_needed)
** Invoke package/classes/ruby (first_time, not_needed)
** Execute package/classes/ruby/application_controller.class
Compile src/application_controller.rb into package/classes/ruby/
application_cont
roller.class
compile_dirs has src_dirs = ["src"]
glob_ruby_files has directory 'src' glob ["src/
application_controller.rb", "s
rc/application_view.rb", "src/main.rb", "src/manifest.rb", "src/
resolver.rb", "s
rc/race/list_io.rb", "src/race/race_controller.rb", "src/race/
race_model.rb", "s
rc/race/race_view.rb"]
files for src: 9
ruby_globs.each has glob_data = #<OpenStruct
files=["application_controller.r
b", "application_view.rb", "main.rb", "manifest.rb", "resolver.rb",
"race/list_i
o.rb", "race/race_controller.rb", "race/race_model.rb", "race/
race_view.rb"], di
rectory="src">
Go compile ["src/application_controller.rb", "src/
application_view.rb", "src
/main.rb", "src/manifest.rb", "src/resolver.rb", "src/race/
list_io.rb", "src/rac
e/race_controller.rb", "src/race/race_model.rb", "src/race/
race_view.rb"]
** Invoke package/classes/ruby/application_view.class (first_time)
** Invoke src/application_view.rb (first_time, not_needed)
** Invoke package/classes/ruby (not_needed)
** Execute package/classes/ruby/application_view.class
Compile src/application_view.rb into package/classes/ruby/
application_view.class
compile_dirs has src_dirs = ["src"]
glob_ruby_files has directory 'src' glob ["src/
application_controller.rb", "s
rc/application_view.rb", "src/main.rb", "src/manifest.rb", "src/
resolver.rb", "s
rc/race/list_io.rb", "src/race/race_controller.rb", "src/race/
race_model.rb", "s
rc/race/race_view.rb"]
files for src: 9
ruby_globs.each has glob_data = #<OpenStruct
files=["application_controller.r
b", "application_view.rb", "main.rb", "manifest.rb", "resolver.rb",
"race/list_i
o.rb", "race/race_controller.rb", "race/race_model.rb", "race/
race_view.rb"], di
rectory="src">
Go compile ["src/application_controller.rb", "src/
application_view.rb", "src
/main.rb", "src/manifest.rb", "src/resolver.rb", "src/race/
list_io.rb", "src/rac
e/race_controller.rb", "src/race/race_model.rb", "src/race/
race_view.rb"]
** Invoke package/classes/ruby/main.class (first_time)
** Invoke src/main.rb (first_time, not_needed)
** Invoke package/classes/ruby (not_needed)
** Execute package/classes/ruby/main.class
Compile src/main.rb into package/classes/ruby/main.class
compile_dirs has src_dirs = ["src"]
glob_ruby_files has directory 'src' glob ["src/
application_controller.rb", "s
rc/application_view.rb", "src/main.rb", "src/manifest.rb", "src/
resolver.rb", "s
rc/race/list_io.rb", "src/race/race_controller.rb", "src/race/
race_model.rb", "s
rc/race/race_view.rb"]
files for src: 9
ruby_globs.each has glob_data = #<OpenStruct
files=["application_controller.r
b", "application_view.rb", "main.rb", "manifest.rb", "resolver.rb",
"race/list_i
o.rb", "race/race_controller.rb", "race/race_model.rb", "race/
race_view.rb"], di
rectory="src">
Go compile ["src/application_controller.rb", "src/
application_view.rb", "src
/main.rb", "src/manifest.rb", "src/resolver.rb", "src/race/
list_io.rb", "src/rac
e/race_controller.rb", "src/race/race_model.rb", "src/race/
race_view.rb"]
** Invoke package/classes/ruby/manifest.class (first_time)
** Invoke src/manifest.rb (first_time, not_needed)
** Invoke package/classes/ruby (not_needed)
** Execute package/classes/ruby/manifest.class
Compile src/manifest.rb into package/classes/ruby/manifest.class
compile_dirs has src_dirs = ["src"]
glob_ruby_files has directory 'src' glob ["src/
application_controller.rb", "s
rc/application_view.rb", "src/main.rb", "src/manifest.rb", "src/
resolver.rb", "s
rc/race/list_io.rb", "src/race/race_controller.rb", "src/race/
race_model.rb", "s
rc/race/race_view.rb"]
files for src: 9
ruby_globs.each has glob_data = #<OpenStruct
files=["application_controller.r
b", "application_view.rb", "main.rb", "manifest.rb", "resolver.rb",
"race/list_i
o.rb", "race/race_controller.rb", "race/race_model.rb", "race/
race_view.rb"], di
rectory="src">
Go compile ["src/application_controller.rb", "src/
application_view.rb", "src
/main.rb", "src/manifest.rb", "src/resolver.rb", "src/race/
list_io.rb", "src/rac
e/race_controller.rb", "src/race/race_model.rb", "src/race/
race_view.rb"]
** Invoke package/classes/ruby/resolver.class (first_time)
** Invoke src/resolver.rb (first_time, not_needed)
** Invoke package/classes/ruby (not_needed)
** Execute package/classes/ruby/resolver.class
Compile src/resolver.rb into package/classes/ruby/resolver.class
compile_dirs has src_dirs = ["src"]
glob_ruby_files has directory 'src' glob ["src/
application_controller.rb", "s
rc/application_view.rb", "src/main.rb", "src/manifest.rb", "src/
resolver.rb", "s
rc/race/list_io.rb", "src/race/race_controller.rb", "src/race/
race_model.rb", "s
rc/race/race_view.rb"]
files for src: 9
ruby_globs.each has glob_data = #<OpenStruct
files=["application_controller.r
b", "application_view.rb", "main.rb", "manifest.rb", "resolver.rb",
"race/list_i
o.rb", "race/race_controller.rb", "race/race_model.rb", "race/
race_view.rb"], di
rectory="src">
Go compile ["src/application_controller.rb", "src/
application_view.rb", "src
/main.rb", "src/manifest.rb", "src/resolver.rb", "src/race/
list_io.rb", "src/rac
e/race_controller.rb", "src/race/race_model.rb", "src/race/
race_view.rb"]
** Invoke package/classes/ruby/race/list_io.class (first_time)
** Invoke src/race/list_io.rb (first_time, not_needed)
** Invoke package/classes/ruby/race (first_time, not_needed)
** Execute package/classes/ruby/race/list_io.class
Compile src/race/list_io.rb into package/classes/ruby/race/
list_io.class
compile_dirs has src_dirs = ["src"]
glob_ruby_files has directory 'src' glob ["src/
application_controller.rb", "s
rc/application_view.rb", "src/main.rb", "src/manifest.rb", "src/
resolver.rb", "s
rc/race/list_io.rb", "src/race/race_controller.rb", "src/race/
race_model.rb", "s
rc/race/race_view.rb"]
files for src: 9
ruby_globs.each has glob_data = #<OpenStruct
files=["application_controller.r
b", "application_view.rb", "main.rb", "manifest.rb", "resolver.rb",
"race/list_i
o.rb", "race/race_controller.rb", "race/race_model.rb", "race/
race_view.rb"], di
rectory="src">
Go compile ["src/application_controller.rb", "src/
application_view.rb", "src
/main.rb", "src/manifest.rb", "src/resolver.rb", "src/race/
list_io.rb", "src/rac
e/race_controller.rb", "src/race/race_model.rb", "src/race/
race_view.rb"]
** Invoke package/classes/ruby/race/race_controller.class (first_time)
** Invoke src/race/race_controller.rb (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Execute package/classes/ruby/race/race_controller.class
Compile src/race/race_controller.rb into package/classes/ruby/race/
race_controll
er.class
compile_dirs has src_dirs = ["src"]
glob_ruby_files has directory 'src' glob ["src/
application_controller.rb", "s
rc/application_view.rb", "src/main.rb", "src/manifest.rb", "src/
resolver.rb", "s
rc/race/list_io.rb", "src/race/race_controller.rb", "src/race/
race_model.rb", "s
rc/race/race_view.rb"]
files for src: 9
ruby_globs.each has glob_data = #<OpenStruct
files=["application_controller.r
b", "application_view.rb", "main.rb", "manifest.rb", "resolver.rb",
"race/list_i
o.rb", "race/race_controller.rb", "race/race_model.rb", "race/
race_view.rb"], di
rectory="src">
Go compile ["src/application_controller.rb", "src/
application_view.rb", "src
/main.rb", "src/manifest.rb", "src/resolver.rb", "src/race/
list_io.rb", "src/rac
e/race_controller.rb", "src/race/race_model.rb", "src/race/
race_view.rb"]
** Invoke package/classes/ruby/race/race_model.class (first_time)
** Invoke src/race/race_model.rb (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Execute package/classes/ruby/race/race_model.class
Compile src/race/race_model.rb into package/classes/ruby/race/
race_model.class
compile_dirs has src_dirs = ["src"]
glob_ruby_files has directory 'src' glob ["src/
application_controller.rb", "s
rc/application_view.rb", "src/main.rb", "src/manifest.rb", "src/
resolver.rb", "s
rc/race/list_io.rb", "src/race/race_controller.rb", "src/race/
race_model.rb", "s
rc/race/race_view.rb"]
files for src: 9
ruby_globs.each has glob_data = #<OpenStruct
files=["application_controller.r
b", "application_view.rb", "main.rb", "manifest.rb", "resolver.rb",
"race/list_i
o.rb", "race/race_controller.rb", "race/race_model.rb", "race/
race_view.rb"], di
rectory="src">
Go compile ["src/application_controller.rb", "src/
application_view.rb", "src
/main.rb", "src/manifest.rb", "src/resolver.rb", "src/race/
list_io.rb", "src/rac
e/race_controller.rb", "src/race/race_model.rb", "src/race/
race_view.rb"]
** Invoke package/classes/ruby/race/race_view.class (first_time)
** Invoke src/race/race_view.rb (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Execute package/classes/ruby/race/race_view.class
Compile src/race/race_view.rb into package/classes/ruby/race/
race_view.class
compile_dirs has src_dirs = ["src"]
glob_ruby_files has directory 'src' glob ["src/
application_controller.rb", "s
rc/application_view.rb", "src/main.rb", "src/manifest.rb", "src/
resolver.rb", "s
rc/race/list_io.rb", "src/race/race_controller.rb", "src/race/
race_model.rb", "s
rc/race/race_view.rb"]
files for src: 9
ruby_globs.each has glob_data = #<OpenStruct
files=["application_controller.r
b", "application_view.rb", "main.rb", "manifest.rb", "resolver.rb",
"race/list_i
o.rb", "race/race_controller.rb", "race/race_model.rb", "race/
race_view.rb"], di
rectory="src">
Go compile ["src/application_controller.rb", "src/
application_view.rb", "src
/main.rb", "src/manifest.rb", "src/resolver.rb", "src/race/
list_io.rb", "src/rac
e/race_controller.rb", "src/race/race_model.rb", "src/race/
race_view.rb"]
** Invoke package/classes/ruby/race/bracket.png (first_time,
not_needed)
** Invoke src/race/bracket.png (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Invoke package/classes/ruby/race/bracketWider.png (first_time,
not_needed)
** Invoke src/race/bracketWider.png (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Invoke package/classes/ruby/race/bracketWidest.png (first_time,
not_needed)
** Invoke src/race/bracketWidest.png (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Invoke package/classes/ruby/race/bracketWidest2.png (first_time,
not_needed)
** Invoke src/race/bracketWidest2.png (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Invoke package/classes/ruby/race/old shuffle (first_time,
not_needed)
** Invoke src/race/old shuffle (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Invoke package/classes/ruby/race/RaceUI.form (first_time,
not_needed)
** Invoke src/race/RaceUI.form (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Invoke package/classes/ruby/race/TODO (first_time, not_needed)
** Invoke src/race/TODO (first_time, not_needed)
** Invoke package/classes/ruby/race (not_needed)
** Invoke package/classes/ruby/race/old (maybe useful code)/
raceTools.form (firs
t_time, not_needed)
** Invoke src/race/old (maybe useful code)/raceTools.form (first_time,
not_neede
d)
** Invoke package/classes/ruby/race/old (maybe useful code)
(first_time, not_nee
ded)
** Invoke package/classes/META-INF (first_time, not_needed)
** Invoke package/jar (first_time, not_needed)
** Execute rawr:jar
cp lib/java/jruby-complete.jar package/jar/lib/java/jruby-complete.jar
cp lib/java/monkeybars-1.0.4.jar package/jar/lib/java/
monkeybars-1.0.4.jar