I took the chance to look at the build routines in Rjb and tried to rework you code in some aspects which would in my oppinion facilitate the development of your wonderful library.
I split up your Rake tasks to provide a standalone Gemspec which could be used via gem build ... and separated other code into a Rakefile which is rather standard today in all Ruby based projects.
I would like to incorporate crosscompilation using rake-compiler and continuous integration for this project since the release history does not show a consistant release graph for all supported plattforms.
Another idea is to completely move to a fat binary gem: The java code is already precompiled for all planforms, the C code is also precompiled for Windows and MacOS computers. So we could include the Unix binaries as well.
We could also separate the runtime and compiletime files and provide only runtime files inside the gem. I think people who want to test and develop the library should rather look at the repository and not get the code via a Rubygems download.
Please let me know what do you think. Feel free not to accept my view :)
Hello @arton
I took the chance to look at the build routines in
Rjb
and tried to rework you code in some aspects which would in my oppinion facilitate the development of your wonderful library.I split up your Rake tasks to provide a standalone Gemspec which could be used via
gem build ...
and separated other code into aRakefile
which is rather standard today in all Ruby based projects.I would like to incorporate crosscompilation using
rake-compiler
and continuous integration for this project since the release history does not show a consistant release graph for all supported plattforms.Another idea is to completely move to a fat binary gem: The java code is already precompiled for all planforms, the C code is also precompiled for Windows and MacOS computers. So we could include the Unix binaries as well.
We could also separate the runtime and compiletime files and provide only runtime files inside the gem. I think people who want to test and develop the library should rather look at the repository and not get the code via a Rubygems download.
Please let me know what do you think. Feel free not to accept my view :)