Comments (8)
Do you have ant installed and on your Path?
On Sun, Feb 10, 2013 at 2:48 AM, jjgh [email protected] wrote:
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—
Reply to this email directly or view it on GitHubhttps://github.com//issues/29..
from jrubyfx.
no.. but just before I updated jrubyfx it was not required ?
from jrubyfx.
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
from jrubyfx.
so do I need to install ANT ?
from jrubyfx.
Yes. Please try it. The documentation should be updated.
from jrubyfx.
I just pushed a commit to only require ant if you are using Java 8 native packaging tools (which you are not)
from jrubyfx.
Ok I just edited "jrubyfx_tasks.rb" in jrubyfx 0.9.2 gem copying from your commit and now it's all working.
I still get a couple of warnings though..:
C:\example>java -jar myapp.jar
file:/C:/example/myapp.jar!/jrubyfx/dsl.rb:129 warning: already initialized constant NAME_TO_CLASSES
file:/C:/example/myapp.jar!/jrubyfx/dsl.rb:151 warning: already initialized constant ENUM_OVERRIDES
Anyway do you think that you'll be pushing all the changes into a new version of the gem anytime soon? Just asking :)
from jrubyfx.
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...
from jrubyfx.
Related Issues (20)
- jrubyfx sensitive to number of spaces in fxml HOT 2
- Enhancement: Provide Ruby binding impls HOT 1
- Setting TableView items doesn't seem to work HOT 4
- Jar classpath issue on windows HOT 1
- jarify with fxml: no .jrubyfx_cache in the jarfile HOT 1
- jarify with fxml: cannot access the fxml files
- jarify with fxml: require_relative doesn't work from inside a jarfile
- jrubfx-jarify compiled jar does not laucnch HOT 5
- cannot run the hello world app HOT 2
- gem install jrubyfx gem not found HOT 1
- Permission denied for 'jrubyfx_cache' HOT 2
- Need more documentation for controller functions HOT 1
- jrubyfx não encaminhando HOT 2
- Is this project active ? HOT 3
- Path to jfxrt.jar loading issue with 1.8.0_202-ea-b03 HOT 1
- Would it be possible to add a screenshot-example to the main README here? HOT 1
- Use javafx 17 modules HOT 3
- Warning: SCENE3D? HOT 1
- More examples perhaps? TextArea specifically
- Classic OOP style? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jrubyfx.