hackerkiba
|
Posted: January 26, 2010 23:10 by hackerkiba
|
|
I got this error: Could not find the main class. Program will exit. http://download.kibabase.com/windows.zip I have the two jars. I just have no idea why it is not launching. |
rubygame and rawr with rubytet
by: hackerkiba
Logan Barnett
|
Posted: January 27, 2010 02:57 by Logan Barnett
|
|
Do you have a src/org/rubyforge/rawr/Main.java? What's your build_configuration.rb look like? |
hackerkiba
|
Posted: January 27, 2010 03:05 by hackerkiba
|
I don't think they're in the windows.zip.
My build configuration: http://github.com/kiba/rubytet/raw/master/build_configuration.rb |
Logan Barnett
|
Posted: January 27, 2010 03:32 by Logan Barnett
|
|
Your project looks partly generated - it's missing the Main.java that lives in src/org/rubyforge/rawr. Rawr also assumes all of your source for your app goes in src. You've tweaked things appropriately, but the rubytet.rb is also going to give you trouble. If it can't live somewhere besides the root dir of your project (such as app), then we're going to have to explore a solution together. It's a 3 line file however. Can you create a main.rb under app with those same 3 lines? That should keep disruption from your framework and vice versa. Make sure main_ruby_file matches the new main. |
hackerkiba
|
Posted: January 27, 2010 22:41 by hackerkiba
|
The src look like it is placed outside the build directory. It is not win the windows directory or any other.
I moved all the top level code to app directory. |
Logan Barnett
|
Posted: January 28, 2010 01:08 by Logan Barnett
|
|
Any changes in the output? Make sure to do a jrake rawr:clean before rejarring with moves (: |
hackerkiba
|
Posted: January 28, 2010 03:39 by hackerkiba
|
|
I did not have the chance to test it on a window machine today but as far as I can tell, I am still having trouble. Also, I renamed app/rubytet.rb to main.rb and update build configuration accordingly. I also include the src directory too since it seem to be getting left out. I typed the command java Rubytet.jar in the window directory and got this error: Could not find the main class: rubytet-0.0.7.1/windows/Rubytet.jar. Program will exit. Here's the new window stuff for window testers: http://download.kibabase.com/windows.zip |
by: hackerkiba







