Discussion:
[jruby-user] Are separate Service files in java extensions unofficially deprecated?
Martin Prout
2014-05-17 13:23:53 UTC
Permalink
I have successfully created some java extensions for ruby-processing,
based on yokolets Fraction class tutorial (which is very clear), however
I was concerned that Headius was now pointing to a different model by
James Coglan as being best example to follow, which does away with the
separate service file. It took me a bit longer to get my head around
James example, and I have now converted my ArcBall extension to that
model
https://github.com/ruby-processing/RVecMath/wiki/ArcBall-functionality.
My question is what is the benefit of the new model, is the old form
deprecated (I still see examples out there). Should I convert my other
classes, might they be useful templates for others
https://github.com/ruby-processing/RVecMath/wiki/Creating-native-extensions-for-ruby-in-java
--
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Martin Prout
2014-05-18 19:17:17 UTC
Permalink
Finally I found it again, here is where Charlie mentions the unofficial
deprecation of the "service" model of getting code to load.
https://github.com/jruby/jruby/issues/825
Further I have since updated yokolets fraction class
https://github.com/ruby-processing/Poplar
But like James Coglan before me, I feel I'm working a bit in the dark.
--
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Loading...