Hi everyone.
I’m trying to figure out how to use a third party jar file in my Jruby
app.
In java it looks like
import com.mycompany.metadata.*
jmdConnection ci = new jmdConnection();
In ruby I’m trying to do the following, but it doesn’t work. Can anyone
help.
require ‘lib/metadata.jar’
class API
include_package com.mycompany.metadata
end
ci = jmdConnection.new()
–
View this message in context:
http://www.nabble.com/How-to-load-use-a-3rd-party-jar-file.-tp19745520p19745520.html
Sent from the JRuby - User mailing list archive at Nabble.com.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email