Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mattwelke/java-gem-test


https://github.com/mattwelke/java-gem-test

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# java-gem-test

Testing creating a java platform gem.

Gem name: java_gem_test_0902376782

Manual build and install working. Uses scripts in `scripts` dir followed by `gem install`.

## example

Script:

```ruby
require 'java_gem_test_0902376782'

puts 'Ruby:'
JavaGemTest::HolaRuby.hi
puts

puts 'Ruby wrapper:'
JavaGemTest::HolaRubyWrapper.hi
puts

puts 'Java:'
com.mattwelke.javagemtest.Hola.hi
```

Output:

```
Ruby:
Hello from Ruby!

Ruby wrapper:
Hello from Java!
(through Ruby wrapper)

Java:
Hello from Java!
```