I have a ruby file which contains all the necessary java_imports
of my ruby project. That file (named java_import.rb
) is located at lib/app/wrapper_classes/java_import.rb
.
My java classes are located at lib/app/gallery/*.java
, in package gallery;
.
I have tried include_package "gallery"
and include_class gallery.ThumbnailFileChooser
, but I feel that I'm missing crucial knowledge.
This is an example of how I include java librairies
in my ruby project
.
module Awt
java_import javax.swing.JButton
java_import javax.swing.JFileChooser
end
So the question is : How can I do the same for my classes ?
Thanks in advance.