Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jrubfx-jarify compiled jar does not laucnch #118

Open
ghost opened this issue Dec 18, 2017 · 5 comments
Open

jrubfx-jarify compiled jar does not laucnch #118

ghost opened this issue Dec 18, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Dec 18, 2017

jdk8
jruby 9.1.15.0

java -jar v2t.jar
uri:classloader:/fxmlloader/elts.rb:158: warning: <<' after local variable or literal is interpreted as binary operator uri:classloader:/fxmlloader/elts.rb:158: warning: even though it seems like here document Exception running Application: #<Errno::ENOTDIR: Not a directory - classpath:/.jrubyfx_cache> org/jruby/RubyDir.java:449:in mkdir'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:253:in fu_mkdir' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:227:in block in mkdir_p'
org/jruby/RubyArray.java:1819:in reverse_each' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:225:in block in mkdir_p'
org/jruby/RubyArray.java:1735:in each' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:211:in mkdir_p'
uri:classloader:/fxmlloader/fxml_jit_info.rb:64:in initialize' uri:classloader:/jrubyfx-fxmlloader.rb:294:in load'
uri:classloader:/jrubyfx/controller.rb:129:in load_into' uri:classloader:/jrubyfx/core_ext/stage.rb:82:in fxml'
classpath:/jar-bootstrap.rb:7:in block in start' org/jruby/RubyBasicObject.java:1691:in instance_eval'
uri:classloader:/jrubyfx/module.rb:49:in with' classpath:/jar-bootstrap.rb:6:in start'
uri:classloader:/jrubyfx/java_fx_impl.rb:119:in `block in launch_app_after_platform'

@Dr-Chaos
Copy link

+1 same issue

@justinsoong
Copy link

Errno::ENOTDIR: Not a directory - classpath:/.jrubyfx_cache seems to be the issue here, I tried to use this workaround #115

But didn't help, it copied the folder to the staging directory, but possibly not picked up on compile

@justinsoong
Copy link

The wildcard doesn't pick up the .jrubyfx_cache folder

jar ufe 'kiosk.jar' org.jruby.JarBootstrapMain *

@enebo
Copy link
Member

enebo commented Jan 24, 2018

@justinsoong if you change the jar command does this work? I am trying to understand whether this is actually an issue with JRuby (regression) or JRubyFX itself?

@bolandross
Copy link

+1 same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants