Charles Oliver Nutter wrote:
What would you folks say to moving all the javasupport .rb files out of
the jruby.jar file and into a directory under lib? There's a few
advantages to this:
- "puts" debugging and other edits would be possible in those files
without rebuilding
- users would be able to poke around those files to find features, add
new ones, or suggest fixes/additions
- tools that expect to have loose .rb files, like NetBeans code
completion, some code manipulation and profiling tools, and so on, would
be able to access them
it would be consistent with the way most Ruby deployments work.
The jruby-complete.jar would be unchanged, and still contain everything
plus stdlib in one file. The move of files could happen for 1.0.2 or 1.1.
A compromise was reached for 1.0.2: the javasupport files now live in
lib/ruby/site_ruby/1.8, but are distributed both there and inside the
JRuby jar file.
This allows tools like netbeans to index those files, and allows users
to modify them if running with site_ruby/1.8 in their load path (as they
would in a normal environment running "jruby" from a command line) but
allows embedders to still have pristine, working Java support with just
the JRuby jar file alone.
In 1.1b1, we've made the same change, but there's going to be more
cleanup before 1.1 final.
I've also added :nodoc: to many places in the 1.0 javasupport files. Not
yet done to 1.1.
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email