Sha256: 193e248387db658562e61cf61a3e9aceea1d8488a6d3f22c4a5192dbddfbc5e5

Contents?: true

Size: 796 Bytes

Versions: 1

Compression:

Stored size: 796 Bytes

Contents

load File.expand_path('../../trinidad-libs/tomcat-core.jar', File.dirname(__FILE__))
load File.expand_path('../../trinidad-libs/trinidad-rb.jar', File.dirname(__FILE__))

module Trinidad
  TRINIDAD_JARS_VERSION = '1.4.2'
  TOMCAT_VERSION = '7.0.57' unless const_defined?(:TOMCAT_VERSION)

  ( Tomcat = Java::RbTrinidad::Jerry ).module_eval do
    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'
    include_package 'org.apache.tomcat'

    java_import 'org.apache.catalina.connector.Connector'
    java_import 'org.apache.catalina.util.ContextName'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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