From: Logan Barnett Date: 2009-06-05T00:10:31+09:00 Subject: Re: Create an exe with Ruby 1.9.1 On Jun 4, 2009, at 12:35 AM, Michael Bruschkewitz wrote: > Hello Logan! > (btw. do you know they named a car like you? It's very cheap, but > it's a car, anyway... :) There's lots of things named Logan (a town, a mountain, etc), but this is the first I've heard of a car (: > Thanks to your fast response I will definitely give "rawr" a try and > provide you with feedback. > So, even if it turns out that "rawr" would not fit my needs for some > reason, my time will not be wasted. > It will need some time until I find some spare time, but I will > definitely do. > (For the beginning, you could use my stupid questions for some FAQ - > Fools Annoying Questions) > > Integrating Ruby into Java and possibility to build one-file > deliveries are both very useful "features" which will help to spread > the Ruby-virus further. > > "Logan Barnett" schrieb im Newsbeitrag news:C934D3AB-C1B5-4987-B21B-A9CF980A0292@gmail.com > ... >> Michael, >> I maintain Rawr and Monkeybars. Hopefully I can help here. >> Our documentation and project organization is pretty behind, but they >> have been getting a lot of love lately. Expect to see more docs very >> soon (: > > At first I would insert some lines of feature-description at top of > "rawr"-page. > A very good example may be found at "jar2exe"-page. Google this and > you'll find description of features even on the Google-page! Try > also "convert jar to exe". > (Google "convert ruby to exe" doesn't show "rawr" at first 3 pages...) > "rawr" should fit both, if it works as you described it. I'll definitely give these a shot. >>> - how to define main class of Java project >> c.main_java_file = 'org.rubyforge.rawr.Main' >> This line comes built into Rawr's default generated configuration. >> You >> can set it to any class you want, however. The notation is >> .. > > So it would be possible to set this to any Java-class which contains > a main function? > Would it be possible to use "rawr" even if no Ruby files are used? Yep! There might be better tools if you're using a pure Java environment. I'm not to sure about your options there. >>> - if it's necessary to compile java classes through this tool. >> Yes! Anything inside the c.source_dirs array will be compiled JRuby >> or Java. > > Is it really mandatory to compile java classes or is it possible to > use only jars? Java files in your project will need to be compiled to be used, but you can go with any combination of jars and project-specific Java files. > However, because this is a feature which is often requested, I would > expect such an add-on to be available (soon?) in Netbeans, Eclipse > and other IDE's. The Netbeans team has Rawr on their radar and we've offered to help them in any way they need it to make Rawr work with Netbeans. > > Maybe moderately paid. It would be useful for many people. > > > Hopefully, you'll hear a success-story soon! > Thanks!