-Mat On Oct 20, 2009, at 9:41 AM, Daniel Spiewak wrote:
This is a really great idea! I'm actually surprised that none of us thought of this earlier. JRuby is very easy to distribute in a self- contained fashion, so this sort of packaging is not only possible but very natural. The only disadvantage would be the performance hit carried by JRuby and really the JVM's slow startup. I think this is probably palletable though, especially given the convenience of this approach.DanielOn Oct 20, 2009, at 7:47 AM, "Ittay Dror" <[email protected]> wrote:Hi,Regarding the next buildr version, I think the biggest issue should bebeing able to quickly start using buildr. My experience is that BuildR is great for me as a build developer. It allows me to do in several lines of code things that would take a lot more in Ant and that I probably wouldn't even try with Maven.However, when it comes to other developers that just want to compile thecode, the procedure to start working with BuildR is just an obstaclethey need to go through. And given that it is not as standard as Mavenor Ant, it is something new to install. Right now, I have 3 people trying to use BuildR without success. Thefirst uses linux and so installed the ruby package but had segmentation faults with java 1.6 (which we must use), so he needed to compile rubyfrom source (not a smooth experience for a java developer coming from windows). After compiling and installing, trying to upload, he got anerror about not being able to require openssl. Now, 'require' is not a known term to a java developer... the reason for the error was that atthe time of compilation he didn't have libssl-dev installed. So heneeded to install it, re-generate the Makefile for ext/openssl and theninstall it. This was a long, un-Java process to go through...Two other users had issues because they couldn't get BuildR to installon Mac. RJB could not find the ruby headers. We couldn't resolve this issue, so they needed to resort to using another machine (!) Of course there's the choice of using JRuby. However, It will still require multiple steps (installing jruby then buildr) and I'm sure it will have its own issues. What it boils down to is bad first impression with BuildR. I want to suggest that BuildR will be provided as a self-contained package. It could be jruby with all gems that can be extracted someplaced and used, but optimally, it will also be packages per OS (can be.tar.gz of binaries), which will help performance when running the builds. An additional feature is proper inspection of the environment before running (something like 'require 'openssl' rescue puts "please make sure you have openssl installed, on linux install libssl and on mac..."). Regards, Ittay P.s., I can try to accomplish this if the idea sounds good.
smime.p7s
Description: S/MIME cryptographic signature
