Jon Tirsen wrote: > Sorry for the long email. :-( > > rails-integration is looking great! But still a couple of kinks here > and there. :-) > > This is an account of me trying to get my app running as a war file > with the 'war-snapshot' plugin provided by rails-integration. I run > into a number of problems that I think need to be solved before rails- > integration is ready for prime time. > > First of all the "Adding web application" step is *extremely* slow on > my machine (MacBook Pro). It takes about 20 mins to execute... > (Regardless if this is the first or second time I do it.) We do have > quite a large number of files in our project as all our gems are > installed into the project and we have rails installed into vendor/ > rails with svn:externals: > Hi Jon,
I happen to know the reason for this. =) Since I know that you're still running Java 5, this is caused by our chmod-implementation being... not optimal for things older than Java 6. (Until then, there was no way to do chmod from Java, so the Java 1.4 and 1.5 implementation shells out to an external command) ... That means over 80K shells started, which is the reason for your slowness. We don't really have a good solution to this problem right now. There is a JIRA for it, and we're discussing JNI alternatives, though. -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined. _______________________________________________ Jruby-extras-devel mailing list [EMAIL PROTECTED] http://rubyforge.org/mailman/listinfo/jruby-extras-devel
