My favorites | Sign in
Project Logo
    
Details: Show all Hide all

Earlier this year

  • Apr 20, 2009
    issue 31 (packaged jar/app/exe fails to launch, cannot find model.) reported by whatthemoosefun   -   Created sample like the HelloWorld flv files. Run from netbeans works great, ran jruby -S rake rawr:jar ran jar and failed, then tried app bundle, ran that also failed Running OSX leopard, jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-04-17 rev 6586) [i386-java] At this state, I have my example running in Netbeans fine, great. Time for rawr party! here we go! $ jruby -S rake rawr:bundle:app (in /Users/wonder/Documents/test/test) javac -target 1.5 -cp "lib/java/jruby-complete.jar:lib/java/ monkeybars-1.0.1.jar:lib/java/swing-layout-1.0.3.jar" -sourcepath "src:lib/ ruby" -d "/Users/wonder/Documents/test/test/package/classes" "src/test/ GUI.java" java -jar lib/java/jruby-complete.jar -e "require '/opt/local/share/java/ jruby/lib/ruby/gems/1.8/gems/rawr-1.3.3/lib/jruby_batch_compiler'; Rawr::JRubyBatchCompiler.compile_argv" src lib/ruby /Users/wonder/ Documents/test/test/package/classes files for src: 8 files for lib/ruby: 0 Compiling src/application_controller.rb to class application_controller Compiling src/application_view.rb to class application_view Compiling src/main.rb to class main Compiling src/manifest.rb to class manifest Compiling src/resolver.rb to class resolver Compiling src/test/test_controller.rb to class test/test_controller Compiling src/test/test_model.rb to class test/test_model Compiling src/test/test_view.rb to class test/test_view Copying non-source file test/GUI.form to /Users/wonder/Documents/test/test/ package/classes/test/GUI.form Copying non-source file README.txt to /Users/wonder/Documents/test/test/ package/classes/README.txt === Creating jar file: /Users/wonder/Documents/test/test/package/jar/ ChangeMe.jar Creating OSX application at /Users/wonder/Documents/test/test/package/osx/ ChangeMe.app rm -rf /Users/wonder/Documents/test/test/package/osx mkdir -p /Users/wonder/Documents/test/test/package/osx mkdir -p /Users/wonder/Documents/test/test/package/osx/ChangeMe.app mkdir -p /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents mkdir -p /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents/MacOS mkdir -p /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents/Resources cp Info.plist /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents/ cp /opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/rawr-1.3.3/lib/../ data/GenericJavaApp.icns /Users/wonder/Documents/test/test/package/osx/ ChangeMe.app/Contents/Resources cp /opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/rawr-1.3.3/lib/../ data/JavaApplicationStub /Users/wonder/Documents/test/test/package/osx/ ChangeMe.app/Contents/MacOS chmod 755 /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents/MacOS/JavaApplicationStub Now I open the app ... A dialog pop ups Uncaught exception in main method: org.jruby.exceptions.RaiseException: no such file to load -- test_model Okay I check console 4/21/09 2:47:48 PM [0x0-0x7a67a6].com.apple.JarLauncher[21413] from (unknown).(unknown)(:1) 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] inspecting args 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] [LaunchRunner Error] org.rubyforge.rawr.Main.main(String[]) threw an exception: 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:551:in `require': no such file to load -- test_model (LoadError) 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:551:in `create_new_model' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:236:in `initialize' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:228:in `__new__' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:101:in `instance' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:96:in `instance' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from src/main.rb:50:in `require' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from <script>:1 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] ...internal jruby stack elided... 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from Kernel.require (file:/Users/wonder/Documents/test/test/package/osx/ChangeMe.app/Contents/ Resources/Java/lib/java/monkeybars-1.0.1.jar!/monkeybars/ controller.rb:551) 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from Monkeybars::Controller.create_new_model(file:/Users/wonder/Documents/test/ test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/java/ monkeybars-1.0.1.jar!/monkeybars/controller.rb:236) Not so good, please help
    Created sample like the HelloWorld flv files. Run from netbeans works great, ran jruby -S rake rawr:jar ran jar and failed, then tried app bundle, ran that also failed Running OSX leopard, jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-04-17 rev 6586) [i386-java] At this state, I have my example running in Netbeans fine, great. Time for rawr party! here we go! $ jruby -S rake rawr:bundle:app (in /Users/wonder/Documents/test/test) javac -target 1.5 -cp "lib/java/jruby-complete.jar:lib/java/ monkeybars-1.0.1.jar:lib/java/swing-layout-1.0.3.jar" -sourcepath "src:lib/ ruby" -d "/Users/wonder/Documents/test/test/package/classes" "src/test/ GUI.java" java -jar lib/java/jruby-complete.jar -e "require '/opt/local/share/java/ jruby/lib/ruby/gems/1.8/gems/rawr-1.3.3/lib/jruby_batch_compiler'; Rawr::JRubyBatchCompiler.compile_argv" src lib/ruby /Users/wonder/ Documents/test/test/package/classes files for src: 8 files for lib/ruby: 0 Compiling src/application_controller.rb to class application_controller Compiling src/application_view.rb to class application_view Compiling src/main.rb to class main Compiling src/manifest.rb to class manifest Compiling src/resolver.rb to class resolver Compiling src/test/test_controller.rb to class test/test_controller Compiling src/test/test_model.rb to class test/test_model Compiling src/test/test_view.rb to class test/test_view Copying non-source file test/GUI.form to /Users/wonder/Documents/test/test/ package/classes/test/GUI.form Copying non-source file README.txt to /Users/wonder/Documents/test/test/ package/classes/README.txt === Creating jar file: /Users/wonder/Documents/test/test/package/jar/ ChangeMe.jar Creating OSX application at /Users/wonder/Documents/test/test/package/osx/ ChangeMe.app rm -rf /Users/wonder/Documents/test/test/package/osx mkdir -p /Users/wonder/Documents/test/test/package/osx mkdir -p /Users/wonder/Documents/test/test/package/osx/ChangeMe.app mkdir -p /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents mkdir -p /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents/MacOS mkdir -p /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents/Resources cp Info.plist /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents/ cp /opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/rawr-1.3.3/lib/../ data/GenericJavaApp.icns /Users/wonder/Documents/test/test/package/osx/ ChangeMe.app/Contents/Resources cp /opt/local/share/java/jruby/lib/ruby/gems/1.8/gems/rawr-1.3.3/lib/../ data/JavaApplicationStub /Users/wonder/Documents/test/test/package/osx/ ChangeMe.app/Contents/MacOS chmod 755 /Users/wonder/Documents/test/test/package/osx/ChangeMe.app/ Contents/MacOS/JavaApplicationStub Now I open the app ... A dialog pop ups Uncaught exception in main method: org.jruby.exceptions.RaiseException: no such file to load -- test_model Okay I check console 4/21/09 2:47:48 PM [0x0-0x7a67a6].com.apple.JarLauncher[21413] from (unknown).(unknown)(:1) 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] inspecting args 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] [LaunchRunner Error] org.rubyforge.rawr.Main.main(String[]) threw an exception: 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:551:in `require': no such file to load -- test_model (LoadError) 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:551:in `create_new_model' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:236:in `initialize' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:228:in `__new__' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:101:in `instance' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from file:/Users/wonder/ Documents/test/test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/ java/monkeybars-1.0.1.jar!/monkeybars/controller.rb:96:in `instance' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from src/main.rb:50:in `require' 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from <script>:1 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] ...internal jruby stack elided... 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from Kernel.require (file:/Users/wonder/Documents/test/test/package/osx/ChangeMe.app/Contents/ Resources/Java/lib/java/monkeybars-1.0.1.jar!/monkeybars/ controller.rb:551) 4/21/09 2:49:50 PM [0x0-0x7a97a9].ChangeMe[21548] from Monkeybars::Controller.create_new_model(file:/Users/wonder/Documents/test/ test/package/osx/ChangeMe.app/Contents/Resources/Java/lib/java/ monkeybars-1.0.1.jar!/monkeybars/controller.rb:236) Not so good, please help
  • Jan 06, 2009
    issue 30 (#define_signal mappings are not inheritable) reported by cremes.d...@mac.com   -   Any signals defined in ApplicationView are not seen by the view subclasses. A temporary workaround is to redeclare the #define_signal lines in each view.rb. (The signal handlers themselves are inheritable per the usual ruby inheritance rules though they *must* be public.)
    Any signals defined in ApplicationView are not seen by the view subclasses. A temporary workaround is to redeclare the #define_signal lines in each view.rb. (The signal handlers themselves are inheritable per the usual ruby inheritance rules though they *must* be public.)
  • Jan 06, 2009
    issue 29 (:java_window documentation should be moved to more relevant ...) reported by cremes.d...@mac.com   -   The documentation that explains :java_window and how/when to use it is currently in Monkeybars::EventHandlerRegistrationAndDispatchMixin::ClassMethods under the #add_listener method. Most MB applications are built using the most excellent reflection capability to pick up the listener methods at runtime, so the :java_window documentation should be moved to MonkeyBars::Controller.
    The documentation that explains :java_window and how/when to use it is currently in Monkeybars::EventHandlerRegistrationAndDispatchMixin::ClassMethods under the #add_listener method. Most MB applications are built using the most excellent reflection capability to pick up the listener methods at runtime, so the :java_window documentation should be moved to MonkeyBars::Controller.
  • Jan 05, 2009
    issue 28 (Modify #define_signal rdoc so it is clear the :handler must ...) reported by cremes.d...@mac.com   -   What steps will reproduce the problem? 1. :define_signal :name => :foo, :handler => :bar 2. def bar model, transfer ... end private :bar What is the expected output? What do you see instead? Expected output is the correct execution of :bar. Instead, the following error is generated: view.rb:433:in `process_signal': There is no handler method 'bar' on view FooView (Monkeybars::InvalidSignalHandlerError) What version of the product are you using? On what operating system? Monkeybars 0.6.5 on OSX 10.5.6 (Intel) with Java6 64-bit Please provide any additional information below. Clarification in the rdoc is all that is necessary.
    What steps will reproduce the problem? 1. :define_signal :name => :foo, :handler => :bar 2. def bar model, transfer ... end private :bar What is the expected output? What do you see instead? Expected output is the correct execution of :bar. Instead, the following error is generated: view.rb:433:in `process_signal': There is no handler method 'bar' on view FooView (Monkeybars::InvalidSignalHandlerError) What version of the product are you using? On what operating system? Monkeybars 0.6.5 on OSX 10.5.6 (Intel) with Java6 64-bit Please provide any additional information below. Clarification in the rdoc is all that is necessary.

Older

  • Dec 14, 2008
    issue 27 (singletons) commented on by kacper.ciesla   -   Both many instances and using monkeybars to controll form dynamic components works great for me. I had to find method in sorce code, but I'm glad it was there and it works. Awesome lib, keep up the good work And sorry for bothering. Regards, Kacper
    Both many instances and using monkeybars to controll form dynamic components works great for me. I had to find method in sorce code, but I'm glad it was there and it works. Awesome lib, keep up the good work And sorry for bothering. Regards, Kacper
  • Dec 14, 2008
    issue 27 (singletons) reported by kacper.ciesla   -   Hi, Library looks great as for me, thank you for it. I just need a little support: Controller seems to be a singleton. So how to create multiple windows of the same class? Some little example or short explanation would be great. (And btw, have you tried using controllers not for single windows but custom componetns on the form too?) Thanks Regards, Kacper
    Hi, Library looks great as for me, thank you for it. I just need a little support: Controller seems to be a singleton. So how to create multiple windows of the same class? Some little example or short explanation would be great. (And btw, have you tried using controllers not for single windows but custom componetns on the form too?) Thanks Regards, Kacper
  • Dec 11, 2008
    PageName (Monkeybars Wiki) Wiki page added by dkoontz
  • Oct 01, 2008
    issue 26 (Support for SWT) reported by u...@kubosch.no   -   Hi! Someone on #jruby mentioned it may be possible to adapt MonkeyBars to support SWT. Any ideas on this? We use SWT in most of our projects, and it would be nice to be able to make use of MonkeyBars for this. With kind regards, Uwe Kubosch Datek Wireless AS Norway
    Hi! Someone on #jruby mentioned it may be possible to adapt MonkeyBars to support SWT. Any ideas on this? We use SWT in most of our projects, and it would be nice to be able to make use of MonkeyBars for this. With kind regards, Uwe Kubosch Datek Wireless AS Norway
 
Hosted by Google Code