no need to File.read the full content to match line by line
add reload_strategy and jruby_compat_version as global attrs
allow to specify [:servlet][:mapping] in configuration
better servlet resolving - resolve optionally by name as well
support RackServlet naming convention for a custom class
allow default servlet overrides (useful when serving assets)
also better RackServlet overrides (now there's a servlet-name convention used as well in case one overrides RackServlet)
support (servlet) :init_params with servlet configs
make sure RackServlet can be configured as an instance
load_on_startup for RackServlet and keep it for default as well
only update the wrapper when a servlet_class specified
(instead of removing it a creating and adding a new one)
web_app.web_app_dir feels weird preffer root_dir instead
make web app work_dir default to ROOT/tmp
+ make sure it is actually being set on the context
replace WebApp's :libs_dir and :classes_dir
with :java_lib and :java_classes options (backwards compatible)
also introduces sensible defaults - lib/java and lib/java/classes
master is trinidad-1.4.2.PRE
allow absolute paths with web_xml configuration
+ debug jars being added to class-path
a taste of WebApp::Lifecycle::Shared refactoring
- add a logger (delegating to the standard context log)
- set doc_base (we "undocumented" overrides in config)
- #set_work_dir replaced with #adjust_context
make sure we point default servlet to public root !
+ added explicit support for providing aliases (to achieve desired backward compatibility)
- static assets (all from /public) should thus be server by TC
- if the public dir doe not exist we keep it set to root directory (for now)
- this is an important security fix as well (not exposing application files)
support public (root) configuration with resource cache setup
- configure caching_allowed?, cache_max_size, cache_object_max_size and cache_ttl context parameters
- support non-relative public directory to be specified
revisit commad-line parser
- add java_lib java_classes options (deprecate old)
- dry out configuration defaults as much as possible
- review option order to be more sensible
add `--runtimes min:max` option to CLI
- allow to disable threadsafe! detection by :threadsafe option
- better jruby min/max runtimes resolution from config
Rack::Handler Threads=MIN:MAX option makes no-sense
(no support in JRuby-Rack with embed usage)
replace --apps with --apps_base on CLI