Sha256: b5c10b7eeced4e5dcb5b7686e76c51f4071d1b887d1e77487aab3a8b735d5ba9

Contents?: true

Size: 872 Bytes

Versions: 1

Compression:

Stored size: 872 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'
  TRINIDAD_JARS_VERSION = '1.0.3'
  TOMCAT_VERSION = '7.0.26' unless defined?(Trinidad::TOMCAT_VERSION)

  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'

    java_import 'org.apache.catalina.connector.Connector'
    java_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-1.0.3 lib/trinidad/jars.rb