You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I jarify the sample project and run it I get:
C:\projects\fxmltableview>jrubyfx-jarify.bat src --main src/FXMLTableView.rb dist/FXMLTableView.jar
C:\projects\fxmltableview>java -jar dist\FXMLTableView.jar
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:28 warning: already initialized constant ARG_CONVERTER_SUFFIX
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:31 warning: already initialized constant NAME_TO_COLORS
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:137 warning: already initialized constant CONVERTERS
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:172 warning: already initialized constant ENUM_CACHE
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:175 warning: already initialized constant ENUM_OVERRIDES
LoadError: no such file to load -- classpath:C:/FXMLTableViewController
require at org/jruby/RubyKernel.java:1040
require at /C:/projects/fxmltableview/dist/FXMLTableView.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/co
re_ext/kernel_require.rb:54
require_relative at file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jruby/kernel19/kernel.rb:13
(root) at classpath:/jar-bootstrap.rb:3
It looks like that classpath is getting mangled but I'm not sure what it's supposed to be.
Can anyone offer insight?
TIA
The text was updated successfully, but these errors were encountered:
@monkeysuffrage , I just posted three issues that I encountered while trying to jarify the Demo. The workarounds I mention combined to allow me to successfully make and execute a jar for the Demo. One of the issues involves a LoadError very similar to the one you mention; they are quite possibly related. It would be helpful to know if the workarounds work for you as well.
When I jarify the sample project and run it I get:
C:\projects\fxmltableview>jrubyfx-jarify.bat src --main src/FXMLTableView.rb dist/FXMLTableView.jar
C:\projects\fxmltableview>java -jar dist\FXMLTableView.jar
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:28 warning: already initialized constant ARG_CONVERTER_SUFFIX
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:31 warning: already initialized constant NAME_TO_COLORS
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:137 warning: already initialized constant CONVERTERS
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:172 warning: already initialized constant ENUM_CACHE
file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jrubyfx/utils/common_converters.rb:175 warning: already initialized constant ENUM_OVERRIDES
LoadError: no such file to load -- classpath:C:/FXMLTableViewController
require at org/jruby/RubyKernel.java:1040
require at /C:/projects/fxmltableview/dist/FXMLTableView.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/co
re_ext/kernel_require.rb:54
require_relative at file:/C:/projects/fxmltableview/dist/FXMLTableView.jar!/jruby/kernel19/kernel.rb:13
(root) at classpath:/jar-bootstrap.rb:3
It looks like that classpath is getting mangled but I'm not sure what it's supposed to be.
Can anyone offer insight?
TIA
The text was updated successfully, but these errors were encountered: