Skip to content

Jar classpath issue on windows #114

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions