Sha256: 27ea58c3f599eaebbd8d740a8eec29ddd562822d0029bdb1eef52bb2987983cf

Contents?: true

Size: 822 Bytes

Versions: 1

Compression:

Stored size: 822 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 'tomcat-core'

  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.2.0 lib/trinidad/jars.rb