Skip to content

Commit

Permalink
Updated changes file indicating contributions
Browse files Browse the repository at this point in the history
Thanks goes to Alex Coles for newer JRuby support.
  • Loading branch information
myabc authored and luislavena committed Dec 7, 2009
1 parent 42ac32e commit f92e80b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions History.txt
@@ -1,6 +1,22 @@
=== (in Git)

* Enhancements
* Allow generation of JRuby extensions. Thanks to Alex Coles (myabc) for the
contribution.
This will allow, with proper JDK tools, cross compilation of JRuby gems
from MRI.

Rake::JavaExtensionTask.new('my_java_extension', GEM_SPEC) do |ext|
# most of ExtensionTask options can be used
# plus, java_compiling:
ext.java_compiling do |gem_spec|
gem_spec.post_install_message = "This is a native JRuby gem!"
end
end

Please note that cross-compiling JRuby gems requires either JRUBY_HOME or
JRUBY_PARENT_CLASSPATH environment variables being properly set.

* Allow alteration of the Gem Specification when cross compiling. Closes GH-3
This is useful to indicate a custom requirement message, like DLLs
installation or similar.
Expand Down

0 comments on commit f92e80b

Please sign in to comment.