Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have some helper methods to build easily gems with java extensions #15

Closed
mkristian opened this issue Feb 26, 2015 · 1 comment
Closed

Comments

@mkristian
Copy link
Owner

lot of projects use rake-compiler to build gems with extension. to compile the java extension code using the declares jars from the gemspec file it needs some method exposing the classpath for the compiler.

there are two cases

  • the gem just needs the runtime jars for compiling
  • the gem needs the runtime jars and jruby itself

something like

Jars.classpath
Jars.compile_classpath
Jars.test_classpath

this avoid using ruby-maven directly in
guyboertje/jrjackson#35
sparklemotion/nokogiri#1253
https://github.com/mkristian/psych/blob/jruby/Rakefile#L54

@mkristian
Copy link
Owner Author

this should be done by now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant