|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
AOT compilationHi,
I'm wondering what's the status of AOT compilation for jruby 1.1 or trunk. Is anyone using it in production ? Are there any rake tasks to support it ? We're shipping a jruby based product and would prefer not to ship .rb files. thanks, Ricardo --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: AOT compilationI have been using it in production for about a month now without any
issues. On Apr 12, 2008, at 7:46 AM, Ricardo Trindade wrote: > Hi, > > I'm wondering what's the status of AOT compilation for jruby 1.1 > or trunk. Is anyone using it in production ? Are there any rake > tasks to support it ? We're shipping a jruby based product and would > prefer not to ship .rb files. > > thanks, > Ricardo > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: AOT compilation
Do you have a rake task or similar to compile the files ?
thanks, Ricardo Matt Fletcher wrote: I have been using it in production for about a month now without any issues. --
![]() |
|
|
Re: AOT compilationYes, I do, but the stuff I have isn't for public consumption. Yet. My
stuff is too focused on making only my project build and wouldn't be useful to anyone else right now. I do plan on eventually making a post to the mailing list and maybe blog about how to roll up jruby-complete and compiled .rb files into a single jar file. But I have no idea when I'll eventually get to it. For the most part I found using the compiler strait forward. You can require .class files just like .rb files, so I had to change very little code to support class files. I did run into one bug (http://jira.codehaus.org/browse/JRUBY-1628 ), but there's a patch for it that will hopefully be in 1.1.1. Tip: keep an eye on the -p switch to the compiler. I had to spend some time monkeying with the prefix I used so that my class files ended up in the package structure I wanted. On Apr 14, 2008, at 8:54 AM, Ricardo Trindade wrote: > Do you have a rake task or similar to compile the files ? > > thanks, > Ricardo --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free Forum Powered by Nabble | Forum Help |