Sha256: cd7927c115dfec6a4dcb92ac2f7bed2eb6cde70ae402e80ebc2f8d644aa69830

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 KB

Contents

#--
# Copyright (c) 2008-2013 David Kellum
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
# may not use this file except in compliance with the License.  You
# may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.  See the License for the specific language governing
# permissions and limitations under the License.
#++

require 'rjack-jetty'

module RJack
  module Jetty

    # Loads testservlets jar.
    module TestServlets
      require File.join( Jetty::JETTY_DIR, "rjack-jetty-1.0.jar" )
      import 'rjack.testservlets.SnoopServlet'
      import 'rjack.testservlets.PerfTestServlet'

      # Webapps directory containing "test/" expanded webapp and "test.war"
      WEBAPPS_DIR = File.join( Jetty::JETTY_DIR, '..', '..', 'webapps' )

      WEBAPP_TEST_EXPANDED = File.join( WEBAPPS_DIR, 'test' )
      WEBAPP_TEST_WAR      = File.join( WEBAPPS_DIR, 'test.war' )
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rjack-jetty-9.1.0.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.7.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.6.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.5.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.4.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.3.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.2.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.0.5-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.0.4-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.0.3-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.0.0.2-java lib/rjack-jetty/test-servlets.rb