Sha256: a64bc2c883f46ef6b9c09ef7de56d2575c614b87b336e087e7ef007726d7a4b7

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.0'
  TOMCAT_VERSION = '7.0.50' 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.0 lib/trinidad/jars.rb