Sha256: 61b41caf3083791f2e571b02242b597a478ce34e122ade2a38dd7bb1ff3ab516

Contents?: true

Size: 931 Bytes

Versions: 1

Compression:

Stored size: 931 Bytes

Contents

TRINIDAD_LIBS = File.dirname(__FILE__) + "/../../trinidad-libs" unless defined?(TRINIDAD_LIBS)
$:.unshift(TRINIDAD_LIBS) unless 
  $:.include?(TRINIDAD_LIBS) || $:.include?(File.expand_path(TRINIDAD_LIBS))

module Trinidad
  require 'servlet-api-2.5-6.1.14'
  require 'jsp-api-2.1'
  require 'jsp-2.1'
  require 'tomcat-core'
  require 'jetty-util-6.1.14'

  require 'jruby-rack'
  require JRubyJars.jruby_rack_jar_path
  
module Tomcat
    include_package 'org.apache.catalina'
    include_package 'org.apache.catalina.startup'
    include_package 'org.apache.catalina.core'
    include_package 'org.apache.catalina.deploy'
    include_package 'org.apache.catalina.loader'
 
    include_package 'org.apache.naming.resources'

    import 'org.apache.catalina.connector.Connector'
    import 'sun.security.tools.KeyTool'
  end

  module Rack
    include_package 'org.jruby.rack'
    include_package 'org.jruby.rack.rails'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trinidad_jars-0.1.1 lib/trinidad/jars.rb