This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/charles/.rvm/rubies/jruby-1.7.4/bin/jruby --1.9 -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/charles/RubymineProjects/AMN/src/lib/amn_main_ui.rb | |
file:/Users/charles/.rvm/rubies/jruby-1.7.4/lib/jruby.jar!/jruby/java/core_ext/object.rb:73 warning: already initialized constant Set | |
ArgumentError: wrong number of arguments calling `initialize` (1 for 0) | |
new at org/jruby/java/proxies/JavaInterfaceTemplate.java:387 | |
to_set at /Users/charles/.rvm/rubies/jruby-1.7.4/lib/ruby/1.9/set.rb:626 | |
Query at /Users/charles/.rvm/gems/jruby-1.7.4/gems/dm-core-1.2.1/lib/dm-core/query.rb:32 | |
DataMapper at /Users/charles/.rvm/gems/jruby-1.7.4/gems/dm-core-1.2.1/lib/dm-core/query.rb:28 | |
(root) at /Users/charles/.rvm/gems/jruby-1.7.4/gems/dm-core-1.2.1/lib/dm-core/query.rb:23 | |
require at org/jruby/RubyKernel.java:1054 | |
(root) at /Users/charles/.rvm/gems/jruby-1.7.4/gems/dm-core-1.2.1/lib/dm-core.rb:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'dm-sqlite-adapter' | |
gem 'data_mapper' | |
gem 'dm-is-tree' | |
gem 'dm-validations' | |
# gem 'dm-validations-ext' | |
gem 'test-unit' | |
gem 'chronic' | |
gem 'jrubyfx', '1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@project_choice.getSelectionModel.selectedItemProperty.addListener { |a, b, c| | |
puts "Project choice event params:" | |
puts "#{a}" | |
puts "#{b}" | |
puts "#{c}" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaMouseEvent:]:src/com/sun/mat/ui/GlassViewDelegate.m:541 | |
Exception in thread "JavaFX Application Thread" org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `toArray' for #<DataMapper::Associations::OneToMany::Collection:0x7cbe82fd> | |
at org.jruby.RubyBasicObject.method_missing(org/jruby/RubyBasicObject.java:1696) | |
at RUBY.method_missing(/Users/charles/.rvm/gems/jruby-1.7.4/gems/dm-core-1.2.1/lib/dm-core/support/lazy_array.rb:426) | |
at RUBY.method_missing(/Users/charles/.rvm/gems/jruby-1.7.4/gems/dm-core-1.2.1/lib/dm-core/collection.rb:1449) | |
at org.jruby.gen.InterfaceImpl368021368.toArray(org/jruby/gen/InterfaceImpl368021368.gen:13) | |
at RUBY.switch_to_current_project(/Users/charles/RubymineProjects/AMN/src/lib/amn_main_controller.rb:256) | |
at RUBY.project_selected(/Users/charles/RubymineProjects/AMN/src/lib/amn_main_controller.rb:247) | |
at org.jruby.RubyBasicObject.__send__(org/jruby/RubyBasicObject.java:1703) | |
at org.jrub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note: code below was used to check out 2.0 named argument support in jruby including JetBrains debug support for jruby in 2.0 mode. If the second require is commented out the code will run without issue | |
code: | |
______________________________________________________________________________________ | |
require 'java' | |
require 'jrubyfx' | |
#require 'rest-client' | |
class Hash | |
def at key, value_if_absent: nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See: http://docs.oracle.com/javafx/2/threads/jfxpub-threads.htm | |
require 'jrubyfx' | |
require 'open-uri' | |
class FirstLineURLTask < Java::javafx.concurrent.Task | |
attr_accessor :url | |
#def initialize(url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See: http://docs.oracle.com/javafx/2/threads/jfxpub-threads.htm | |
require 'jrubyfx' | |
require 'open-uri' | |
class FirstLineURLTask < Java::javafx.concurrent.Task | |
attr_accessor :url | |
#def initialize(url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fast Debugger (ruby-debug-ide 0.4.18, ruby-debug-base 0.10.5.rc5) listens on 127.0.0.1:50966 | |
2013-08-01 14:40:58.151 java[1706:2517] Invalid URL passed to an open/save panel: ''. Using 'file://localhost/Volumes/LaCie/' instead. | |
Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaMouseEvent:]:src/com/sun/mat/ui/GlassViewDelegate.m:541 | |
Exception in thread "JavaFX Application Thread" org.jruby.exceptions.RaiseException: (RuntimeError) Java wrapper with no contents: ProgressAlert | |
at RUBY.print_variable(/Users/charles/.rvm/gems/jruby-1.7.4/gems/ruby-debug-ide-0.4.18/lib/ruby-debug-ide/xml_printer.rb:171) | |
at RUBY.print_variable((eval):5) | |
at RUBY.mon_synchronize(/Users/charles/.rvm/rubies/jruby-1.7.4/lib/ruby/1.9/monitor.rb:211) | |
at RUBY.print_variable((eval):3) | |
at RUBY.print_variables(/Users/charles/.rvm/gems/jruby-1.7.4/gems/ruby-debug-ide-0.4.18/lib/ruby-debug-ide/xml_printer.rb:103) | |
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1617) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?import java.lang.*?> | |
<?import java.util.*?> | |
<?import javafx.scene.control.*?> | |
<?import javafx.scene.layout.*?> | |
<?import javafx.scene.paint.*?> | |
<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="400.0" xmlns:fx="http://javafx.com/fxml"> | |
<children> |
OlderNewer