-
Notifications
You must be signed in to change notification settings - Fork 30
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
jrubyfx-jarify problem (ANT) #29
Comments
Do you have ant installed and on your Path? On Sun, Feb 10, 2013 at 2:48 AM, jjgh notifications@github.com wrote:
|
no.. but just before I updated jrubyfx it was not required ? |
Ah, its becuse require ant is on line 22 of jrubyfx_tasks.rb . If I move it to 111 then it does not require it unless you use native bunndle |
so do I need to install ANT ? |
Yes. Please try it. The documentation should be updated. |
I just pushed a commit to only require ant if you are using Java 8 native packaging tools (which you are not) |
Ok I just edited "jrubyfx_tasks.rb" in jrubyfx 0.9.2 gem copying from your commit and now it's all working. C:\example>java -jar myapp.jar Anyway do you think that you'll be pushing all the changes into a new version of the gem anytime soon? Just asking :) |
I will, once we finish the WIP changes from #28 . I have been busy studying for finals this week, but a new version should be out by next week. Interesting... i'll look at that again. dsl.rb is very picky about the way its included... |
jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706
on Java HotSpot(TM) Client VM 1.7.0_13-b20 [Windows XP-x86]
(I think..) I've updated to the latest jrubyfx gem version using jruby -S gem install jrubyfx
Now the jrubyfx-jarify command doesn't seem to work anymore:
C:\example>jrubyfx-jarify app\ --main app\main.rb myapp.jar
IOError: Cannot run program "ant.bat" (in directory "C:\example"): CreateProcess error=2, Can't find specified file
popen at org/jruby/RubyIO.java:3964
load_from_ant at c:/jruby-1.7.2/lib/ruby/shared/ant.rb:5
load at c:/jruby-1.7.2/lib/ruby/shared/ant.rb:38
Ant at c:/jruby-1.7.2/lib/ruby/shared/ant.rb:61
(root) at c:/jruby-1.7.2/lib/ruby/shared/ant.rb:3
require at org/jruby/RubyKernel.java:1027
require at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/jrubyfx-0.9.2-java/lib/jrubyfx_tasks.rb:1
require at org/jruby/RubyKernel.java:1027
(root) at c:/jruby-1.7.2/lib/ruby/gems/shared/gems/jrubyfx-0.9.2-java/lib/jrubyfx_tasks.rb:22
(root) at c:/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:1
load at org/jruby/RubyKernel.java:1046
(root) at c:\jruby-1.7.2\bin\jrubyfx-jarify:23
The text was updated successfully, but these errors were encountered: