A good question is anyone still using this in any way outside our
core? I know someone complained about this in some way when we were
working on load/require and accidentally disabled it.
One other positive benefit is this will reduce how many files we
search for during require/load if we remove it. I am a little
hesitant since we are so close to 1.0.
-Tom
On 5/23/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote:
Clay McCoy wrote:
> Basically I want to test out the changes I made, but can't run JRuby
> from source.
>
> I get excited about jruby, download the newest thing I can find (rc1),
> compile it in eclipse, jar it up, drop it in the ruby version of
> netbeans, and it partially works. But it does this when you require java:
> Resource not found: /builtin/javasupport.rb.ast.ser
>
> After some research about the added ".ast.ser" I guess that I need to
> compile the .rb file. Does this mean that I can't run from source? I
> try to use jrubyc on it, even though the documentation tells me that it
> will produce a .class rather than the .rb.ast.ser that I need. Making
> it work on one file that has lots of dependencies is going to take more
> investment in my configuration though.
>
> So I figure that there has to be an easy way that everyone is building
> jruby or running the source. I just can't find any reference to it.
> This is quite a barrier for contributing. What am I missing?
The .ast.ser stuff is basically just a pre-parsed serialized AST of a
few scripts built into JRuby. This was added some time in the past to
speed up startup, avoiding parsing those files at every start. I'd be
surprised if it actually helps.
The full ant build will generate these files and put them in the JRuby
JAR for you. We've considered turning off serialization for 1.0, since
we really only have a few files that load at startup and the parser is
pretty fast. It would eliminate a step from the build process.
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
--
Blog: http://www.bloglines.com/blog/ThomasEEnebo
Email: [EMAIL PROTECTED] , [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email