warbler_updated 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +10 -0
  3. data/History.txt +411 -0
  4. data/LICENSE.txt +27 -0
  5. data/Mavenfile +32 -0
  6. data/README.rdoc +280 -0
  7. data/Rakefile +63 -0
  8. data/bin/warble +11 -0
  9. data/ext/JarMain.java +334 -0
  10. data/ext/WarMain.java +375 -0
  11. data/ext/WarblerJar.java +199 -0
  12. data/ext/WarblerJarService.java +18 -0
  13. data/lib/warbler/application.rb +104 -0
  14. data/lib/warbler/bundler_helper.rb +22 -0
  15. data/lib/warbler/config.rb +265 -0
  16. data/lib/warbler/executable_helper.rb +25 -0
  17. data/lib/warbler/gems.rb +77 -0
  18. data/lib/warbler/jar.rb +348 -0
  19. data/lib/warbler/pathmap_helper.rb +20 -0
  20. data/lib/warbler/platform_helper.rb +26 -0
  21. data/lib/warbler/rake_helper.rb +30 -0
  22. data/lib/warbler/scripts/rails.rb +5 -0
  23. data/lib/warbler/task.rb +185 -0
  24. data/lib/warbler/templates/bundler.erb +19 -0
  25. data/lib/warbler/templates/config.erb +1 -0
  26. data/lib/warbler/templates/jar.erb +11 -0
  27. data/lib/warbler/templates/jbundler.erb +2 -0
  28. data/lib/warbler/templates/rack.erb +5 -0
  29. data/lib/warbler/templates/rails.erb +1 -0
  30. data/lib/warbler/templates/war.erb +19 -0
  31. data/lib/warbler/traits/bundler.rb +157 -0
  32. data/lib/warbler/traits/gemspec.rb +79 -0
  33. data/lib/warbler/traits/jar.rb +58 -0
  34. data/lib/warbler/traits/jbundler.rb +48 -0
  35. data/lib/warbler/traits/nogemspec.rb +47 -0
  36. data/lib/warbler/traits/rack.rb +33 -0
  37. data/lib/warbler/traits/rails.rb +91 -0
  38. data/lib/warbler/traits/war.rb +260 -0
  39. data/lib/warbler/traits.rb +124 -0
  40. data/lib/warbler/version.rb +10 -0
  41. data/lib/warbler/war.rb +8 -0
  42. data/lib/warbler/web_server.rb +125 -0
  43. data/lib/warbler/zip_support.rb +13 -0
  44. data/lib/warbler.rb +40 -0
  45. data/lib/warbler_jar.jar +0 -0
  46. data/warble.rb +188 -0
  47. data/warbler.gemspec +37 -0
  48. data/web.xml.erb +57 -0
  49. metadata +188 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ab83e54ca1c043d90f8ec5a0d52eeffbab75dad0620a151bfeecd786a34d90ef
4
+ data.tar.gz: e03709ac1d4dff0a7cf9670bbc805b323865a91bbf5c26f32ec72650a5867aaa
5
+ SHA512:
6
+ metadata.gz: f55ad24ebb07d51a768090090ce08ad44931936d56cf047b550dd724d19328448ef60c59b638f3c5c4b6a69c48805a222fd436c0e49975a3746f0a53047d2cfb
7
+ data.tar.gz: dea3c12850a978a5a64b7cff802610050fb3e78fff44026daf42b3121f9924da8373f7ecdb963f588fed8495c4a88c3301e2e1a68255797f6e610887961d10b8
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "https://rubygems.org/"
2
+
3
+ gemspec
4
+
5
+ rubyzip_version = ENV['RUBYZIP_VERSION']
6
+ gem 'rubyzip', rubyzip_version if rubyzip_version && !rubyzip_version.empty?
7
+
8
+ group :development, :test do
9
+ gem 'rdoc', ['>= 3.10', '< 4.3'], :require => nil
10
+ end
data/History.txt ADDED
@@ -0,0 +1,411 @@
1
+ == Unreleased
2
+
3
+ - #429 maintenance Properly require ruby >= 2.1
4
+ - #439 Include gem_build_complete_path in jar
5
+ - #440 Don't overwrite user-specified `webserver.properties` file
6
+ - #450 Update `warble.rb` documentation
7
+ - #466 Update default Maven URL
8
+ - #491 Relax version requirement for rubyzip
9
+ - #497 CI: Migrate to Github Actions
10
+ - #499 Drop jruby 9.1 support
11
+ - #500 test: Configure a git default branch name, silences warning
12
+ - #501 CI: Also test against java 15
13
+ - #502 Update vendored dummy repos to our support matrix
14
+ - #503 Drop support for old rake versions
15
+ - #504 Migrate the spec suite to use RSpec 3
16
+ - #505 Drop rake 12 support
17
+ - #513 Fix helper class used for `config.webxml` values
18
+ - #514 CI: Install a RubyGems 3.2.x for jruby-head, and ensure a Bundler 1.17.3 is available and used
19
+
20
+ == 2.0.5
21
+
22
+ - #427: Check Java properties when looking up RAILS_ENV
23
+ - #424: Rails Webpacker support
24
+ - #397: Avoid warnings under JRuby 9K
25
+
26
+ == 2.0.4
27
+
28
+ - fix: an instance variable name typo (@servlet_context_listeners)
29
+ - #383: add bundler monkey patch
30
+
31
+ == 2.0.3
32
+
33
+ - Remove test_files from gemspec to save 700k
34
+
35
+ == 2.0.2
36
+
37
+ - #380: exclude spec/integration/rakelib and dot-files being packed into .gem
38
+ - #379: 2.0.1 regression due forcing GEM_PATH = GEM_HOME
39
+
40
+ == 2.0.1
41
+
42
+ - #367: avoid duplicate .jar copies in WEB-INF/lib
43
+ - #364: support for compiling .rb files using jrubyc with options
44
+ - #362: limit rubyzip version to not match too far
45
+ - #363: [backport] support for running with (recent) rubyzip 1.2.0
46
+
47
+ == 2.0.0
48
+
49
+ - Initial release with 9k support
50
+
51
+ == 1.4.9
52
+
53
+ - Fixed a bug in detecting default PORT for executable WAR
54
+ - #332: Warbler not picking up new Bundler convention of 'exe' directory for executables
55
+
56
+ - Added the ability to set custom port for Jetty launcher with
57
+ warbler.port or PORT env var
58
+
59
+ == 1.4.7
60
+
61
+ - #319: Adds capacity to use the jruby-jars gem version for JRuby 9k.
62
+
63
+ == 1.4.6
64
+ - #318: polish *scripts/rails* - require_relative should no longer be used
65
+ - #315: Removed custom Jetty launcher in favor of jetty-runner
66
+ - #316: Sprockets manifest name change
67
+ - #313: Update Jetty to 9.2.10
68
+ - #311: Don't clear the environment if a java executable is found
69
+ - #268: Compile's clearing of ENV vars makes it impossible to use custom compile vars
70
+
71
+ == 1.4.5
72
+ - #282: Wrong default GEM_HOME in generated META-INF/init.rb
73
+ - #305: warbler.rb: Document jar_extension, autodeploy_dir options
74
+ - #304: enable ENV['RACK_ENV'] to honor command line environment variable
75
+ - #296: Use a topological sort to order traits by requirements.
76
+ - #291: Include most current gem version in README
77
+ - #280: config.webserver = 'jetty' (by default)
78
+
79
+ == 1.4.4
80
+ - #271: LoadError while excute rake command with runnable .war archive
81
+ - #273: filtering support with `config.move_jars_to_webinf_lib`
82
+ - #270: don't swallow compiler errors with backticks
83
+ - #265: Compile feature only compiles application sources (not gems)
84
+ - #264: JBundler with compiled feature crashes with java.lang.ClassNotFoundException: org.jruby.Main
85
+ - #269: Argument list too long
86
+ - #236: Adds comment hinting at how to put a display name in web.xml.erb file.
87
+ - #275: for jruby-1.7.13 we do not want to force load bouncy-castle jars
88
+ - #276: unnecessary rubyzip dependency on "< 1.1"
89
+
90
+ == 1.4.3
91
+ - Fixed a bug w/ symlinks that was introduced around jruby-1.7.10
92
+ - #258: Bytecode version option for compiled class files
93
+ - #259: Update README.rdoc to not require warbler in Gemfile
94
+ - #260: Can't convert TrueClass into String
95
+ - #167: Excluding rb and class files when using compiled flag
96
+ - #254: Fixes #167 by excluding config.excludes from compiled files
97
+
98
+ == 1.4.2
99
+ - #241: jars from jruby.jar itself do not get copied over to WEB-INF/lib
100
+ - #199: javascript_include_tag and stylesheet_link_tag not generating digestions
101
+ - #247: better support for Rails 4 asset pipeline
102
+ - #169: Compile war not loading assets
103
+ - #243: Added the move_jars_to_webinf_lib method back in...
104
+ - #249: Warbler 1.4.1 fails to compile on Windows
105
+
106
+ == 1.4.1
107
+ - Support for JBundler
108
+ - #165: Problem with bundler git gems
109
+ - #239: Supresses a warning when using bundler
110
+ - #221: Adding WEB-INF to $LOAD_PATH for simple Rack-only apps
111
+ - #220: For Rack-only apps, WEB-INF should be added to $LOAD_PATH
112
+ - #218: Invoke jrubyc using system to ensure that STDERR from jrubyc is shown
113
+
114
+ == 1.4.0
115
+
116
+ - Support for Rails 4.x
117
+ - Improved runnable so `rails` command works w/o script dir
118
+ - #156: config.dirs seems to be ignored
119
+ - #159: Rails 4.0.0.rc1 fails under warbler with `silence` error
120
+ - #180: Problem with rubyzip 1.0.0
121
+ - #178: Status of config.threadsafe! in rails 4.
122
+ - #179: Jruby min and max runtimes defaults to 1 in rails 4.
123
+ - #182: Jar creation does not honor begin/realSize from contents' ByteList
124
+ - #177: allow specifying executable to run including other gems executables
125
+ - #173: WAR project also should respect `override_gem_home` option
126
+ - #168: The -S rails command is not compatible with Ruby 1.8
127
+ - #190 and #206: Add zip adapter to support for rubyzip 0.9 and 1.0
128
+ - #197: Extra characters at the end of web.xml file
129
+ - #202: Recompile the booster jar after changes for "unsafe" bytes
130
+ - #204: Reset RubyGems gemspec cache between tests
131
+ - #203: Test ordering issue when running with RubyGems 2.1.9
132
+
133
+ == 1.3.8
134
+
135
+ - Numerous fixes related to -S option and local environment.
136
+ - #162: Close the URLClassLoader before deleting tempJARs
137
+ - #161: Comment out config.dirs to match default
138
+ - #158: Warbler looking in the wrong directory for bundler gem
139
+
140
+ == 1.3.7
141
+
142
+ - #154: Use #load in .rb shims
143
+ - #153: Runnable war error
144
+ - #152: Mirror fallback for winstone-jenkins?
145
+ - #150: Don't delete contents of symlinked folder.
146
+ - #148: Resolving issue when an alternate BUNDLE_PATH is used
147
+ - #144: No such file to load -- bundler/setup (with bundler 1.3.4)
148
+ - #141: Support running executables from Bundler gems and project-local scripts
149
+ - #136: java -jar rails.war -S rake db:migrate
150
+ - #125: Fix self executable jar/wars when the filename contains '#' symbols
151
+ - #122: When comparing zip file entries, ignore trailing slashes
152
+ - #118: warble pluginize does not work on rails 3.x
153
+ - #117: Allow compile feature to work in 1.9 mode
154
+ - #112: Reset ENV['GEM_HOME'], limit search to within .jar
155
+ - #105: Pick executables deterministically and warn when doing so
156
+ - #104: Default executable is system-dependent
157
+
158
+ == 1.3.6
159
+
160
+ - #100: fix winstone URL
161
+
162
+ == 1.3.5
163
+
164
+ - Add config.webserver to give choices for which lightweight Java
165
+ webserver is used in an executable war.
166
+ - Add jenkins-ci.winstone and jetty as embeddable servers
167
+ - #76, #81: fix rubyzip "can't modify frozen string" issue
168
+
169
+ == 1.3.4
170
+
171
+ - #77, #78: Handle the case when multiple gems exists in a git path
172
+ (Patrick Cheng)
173
+ - #66: On Windows, File#unlink does not delete the file like it does
174
+ on POSIX (Greg Mefford)
175
+ - Check config/environment.rb in addition to production.rb for
176
+ threadsafe (Joe Kutner)
177
+ - #37, #64: Fix issues with Bundler and recent Rubygems/Rails
178
+
179
+ == 1.3.3
180
+
181
+ - Note: 1.3.3 was YANKED due to #62
182
+ - Move all jars to WEB-INF/lib, and leave an empty jar in the original
183
+ place
184
+ - Deal with private Kernel#gem method in recent RubyGems
185
+ - Deal with Gem::Specification#full_gem_path changes in RG 1.8.x
186
+ - GH #42: Tricks to allow Bundler to find git repo gems even when they
187
+ are excluded form production
188
+
189
+ == 1.3.2
190
+
191
+ - Compatibility with rake 0.9.x, avoid deprecation warnings and deal
192
+ with new FileList exclusion behavior
193
+ - Exclude config.bundle_without groups properly
194
+
195
+ == 1.3.1
196
+
197
+ - Pin rake version to ~> 0.8.7 for now. Rake 0.9.0 compatibility will
198
+ follow in a future release.
199
+
200
+ == 1.3.0
201
+
202
+ - Warbler can now package regular Ruby projects as executable jar
203
+ files. See the README.rdoc file for details.
204
+ - WARBLER-18: Heed BUNDLE_GEMFILE in environment
205
+ - WARBLER-17: Allow config.excludes to work for files in public/
206
+ - GH#3, #12, #17: Properly bundle when BUNDLE_PATH is set or
207
+ --deployment flag is used
208
+ - JRUBY-5077, WARBLER-24: Gems from git repositories are now packaged
209
+ correctly
210
+ - GH#20: Ruby 1.9.2 support
211
+ - GH#8: Clean up compiled .class files after building war
212
+ - GH#15: Simplify detection of thread-safe Rails
213
+
214
+ == 1.2.1
215
+
216
+ - Add --directoryListings=false to Winstone launch by default. In some
217
+ cases (sinatra) Winstone's directory listing masks application
218
+ content. (Fletcher Nichol)
219
+ - Build and add META-INF/init.rb file into the war file. This is
220
+ recognized and loaded by JRuby-Rack 1.0.3 as a new way to do extra
221
+ environment initialization before the web framework is loaded. See
222
+ config.init_contents in Warbler::Config for details.
223
+
224
+ == 1.2.0
225
+
226
+ - Drop compatibility with earlier versions of Bundler -- Bundler has
227
+ changed a lot in a short period of time, so I'm expecting the number
228
+ of people depending on 0.8 or 0.9 to be small. Please use Warbler
229
+ 1.2.0 with applications that depend on Bundler 1.0 or higher.
230
+ - Support for Bundler groups. The 'development' and 'test' groups are
231
+ excluded by default.
232
+ - Add 'compiled' feature: With this feature added to config.features
233
+ Warbler will pre-compile all Ruby files and will not ship the
234
+ original Ruby source in your war file.
235
+ - warble.rb: Add config.bundle_without that controls Bundler groups to
236
+ be skipped, like 'Bundler.settings.without'.
237
+ - warble.rb: Add config.compiled_ruby_files to specify which Ruby
238
+ files to compile when using the "compiled" feature. Defaults to
239
+ compiling all Ruby files.
240
+ - warble.rb: Add config.gem_excludes which allows exclusion of some
241
+ gem files from the war. Default assumes no exclusions.
242
+ - Exclude 'tmp/war' directory so that people upgrading from 0.9 won't
243
+ accidentally include it in their war file.
244
+
245
+ == 1.1.0
246
+
247
+ - Add concept of "features" -- small Rake tasks that run before the
248
+ creation of the war file and make manipulations to the war file
249
+ structure.
250
+ - Add 'gemjar' feature: Bundle all gems into a gems.jar to reduce the
251
+ number of files in the archive (mostly useful for Google AppEngine).
252
+ Usage: run "warble gemjar war" or set config.features = %w(gemjar) in
253
+ warble.rb to use this feature.
254
+ - Add 'executable' feature: Bundle an embedded web server in the war
255
+ file so that the entire application can be run as
256
+ 'java -jar myapp.war'.
257
+ Usage: run "warble executable war" or set config.features = %w(executable)
258
+ in warble.rb to use this feature.
259
+ To see embedded webserver options, add '--help' to the 'java -jar'
260
+ command line.
261
+ - No longer embed config.ru in web.xml as 'rackup' parameter by
262
+ default. Instead, config.ru is included in the war file.
263
+ - Bump jruby-rack version requirement to 0.9.8.
264
+
265
+ == 1.0.3
266
+
267
+ - Tracking recent Bundler changes - handle locked Gemfiles differently
268
+ than unlocked ones
269
+ - Handle file-based symlinks, and warn about inoperational directory
270
+ symlinks under non-JRuby versions of Ruby.
271
+
272
+ == 1.0.2
273
+
274
+ - Add 'warble pluginize' task back. This task now just creates a
275
+ vendor/plugins/warbler/tasks/warbler.rake file. There's no need to
276
+ "vendor" all of Warbler into your application anymore.
277
+
278
+ == 1.0.1
279
+
280
+ - Fix careless bug where Warbler doesn't work with JRuby 1.4
281
+
282
+ == 1.0
283
+
284
+ - Warbler hits 1.0! There are enough structural changes in Warbler
285
+ that I feel it's time to roll the major version over to 1.0.
286
+ - Add support for Bundler. Detect Gemfiles, make sure gems are
287
+ included in the war file and rewrite .bundle/environment.rb inside
288
+ the war file.
289
+ - Warbler now uses RubyZip to create the war file in-place, without
290
+ copying files to a tmp/war staging area. When run in JRuby it uses a
291
+ Java ZipOutputStream for a modest performance boost.
292
+ - Add config option to allow override of gem_home (Daniel Harrington).
293
+ - Stop bundling jruby-rack, as promised.
294
+ - WARBLER-3: don't add from Rails config.gems if they are frozen
295
+ - WARBLER-7: Add config.webinf_files option with more support for
296
+ custom web.xml files
297
+
298
+ == 0.9.14
299
+
300
+ - So, jruby-rack is bundled for one more release. 1.0 will not contain
301
+ any jar files, I promise!
302
+ - Upgraded jruby-rack to 0.9.5.
303
+ - Unbundled jruby-complete jar in favor of new jruby-jars gem, which
304
+ can be upgraded separately.
305
+ - Skip gems which have no loaded_from attribute set
306
+ (this happened with the Authlogic gem on Edge Rails)
307
+ (thanks Laszlo Bacsi)
308
+
309
+ == 0.9.13
310
+
311
+ - RailsConf 2009 edition.
312
+ - Only bundled JRuby and JRuby-Rack upgrades. Bug fixes will have to come in 0.9.14.
313
+ - This should also be the last release with bundled JRuby and JRuby-Rack.
314
+ - Upgrade to JRuby 1.3.0RC1 and JRuby-Rack 0.9.4. The latter allows
315
+ Rails 2.3 to work with Warbler.
316
+
317
+ == 0.9.12
318
+
319
+ - Allow framework auto-detection to be disabled. Set
320
+ `Warbler.framework_detection = false' at the top of config/warble.rb
321
+ or uncomment the line from a newly generated config.
322
+ - Add configuration option to set manifest file (thanks Tommy McGuire)
323
+ - Mitigate RubyGems 1.3 compatibility issue (thanks Jens Norrgrann)
324
+ - Add experimental `war:exploded` task. This allows you to deploy your
325
+ application in an exploded mode, thus allowing continual development
326
+ without re-warring and re-deploying. Feedback is appreciated if you
327
+ try this feature; it may not work in all application servers and for
328
+ applications other than Rails.
329
+ - Handle Rails gem dependencies better (thanks Laszlo Bacsi)
330
+ - Auto-detect Merb dependencies (Merb >= 1.0 only). Please give
331
+ feedback if you try Warbler with a Merb 1.0 app.
332
+ - Ignore gem development dependencies
333
+ - Upgrade to JRuby 1.1.6 and JRuby-Rack 0.9.3
334
+
335
+ == 0.9.11
336
+
337
+ - Auto-detect Rails and Merb and configure appropriately
338
+ - For Rails, set rails booter, determine max runtimes based on Rails.configuration.threadsafe!,
339
+ add Rails gem, detect Rails version, set gems to be packaged based on
340
+ Rails.configuration.gems if available
341
+ - Rails gems only added if Rails application detected
342
+ - For Merb, set merb booter automatically
343
+ - Auto-detect config.ru rackup script and pass it into config.webxml.rackup
344
+ - rails.env now commented by default in config/warble.rb and internally default
345
+ the value to 'production'
346
+ - Default directories in config.dirs to only those that are found to be present
347
+ - Allow config.gems array to contain regexps and Gem::Dependency objects as well
348
+ (assist from Jani Soila)
349
+ - Fix bug ensuring you can += and -= for config.gems
350
+ - Upgrade to JRuby 1.1.4 and JRuby-Rack 0.9.2
351
+ - add [] as a way to specify non-identifier keys, example: config.webxml['!@#$%^'] = 'haha'
352
+
353
+ == 0.9.10
354
+
355
+ - Upgraded to JRuby-Rack 0.9.1. Fixes JRUBY-2620, JRUBY-2594, JRUBY-2507.
356
+ - Now verified to work with Camping and Sinatra. See
357
+ http://github.com/nicksieger/jruby-rack/tree/master/examples for examples
358
+ of how to configure Warbler to package your Camping and Sinatra apps.
359
+ - Upgraded to JRuby 1.1.3.
360
+ - Log files are no longer packaged in the .war file.
361
+ - Fix #<Warbler::WebxmlOpenStruct ...> appearing in web.xml and document workarounds.
362
+ - Add config.autodeploy_dir that, when specified, will create the war there.
363
+
364
+ == 0.9.9
365
+
366
+ - Now shipping with JRuby-Rack 0.9!
367
+ - Upgrade to JRuby 1.1.1
368
+ - warble.rb and web.xml.erb have changed as a result of the change to JRuby-Rack -- we
369
+ recommend comparing the new base copies with any existing configuration you have to
370
+ make sure you pick up the differences.
371
+ - Config changes:
372
+ -- config.webxml.booter chooses what kind of application to use (:rails, :merb or plain :rack).
373
+ -- config.webxml.pool.* have been replaced by config.webxml.jruby.(min|max).runtimes
374
+ -- config.webxml.standalone and config.webxml.jruby_home no longer have any effect.
375
+
376
+ == 0.9.5
377
+
378
+ - Fix bug in plugin warbler.rake task file that would favor loading warbler from gems before the version
379
+ installed as a plugin
380
+ - Upgrade to JRuby 1.1 final and Goldspike 1.6.1
381
+
382
+ == 0.9.4
383
+
384
+ - Update bundled JRuby to 1.1RC3 and Goldspike to 1.6.
385
+ - Fix inclusion of gems with platform-specific bits (e.g., Hpricot)
386
+
387
+ == 0.9.3
388
+
389
+ - Update bundled JRuby to 1.1RC2, and Goldspike to 1.5.
390
+ - The bundled JRuby and Goldspike now require JDK 5 or greater. If you wish to use JDK 1.4, use Warbler 0.9.2.
391
+
392
+ == 0.9.2
393
+
394
+ - Update bundled JRuby to version 1.0.3 and Goldspike 1.4.
395
+ - Add config.java_classes to allow you to copy loose Java classes into WEB-INF/classes.
396
+ - Make jar command a single command string so that jar creation doesn't fail (works around bug in JRuby 1.0.2)
397
+ - Use File.join to form staging directory, should produce the proper jar-command path in Windows
398
+
399
+ == 0.9.1
400
+
401
+ - Add rake >= 0.7.3 as a dependency in the gem specification.
402
+ - Add debug tasks: war:debug, war:debug:gems, war:debug:public, war:debug:app, war:debug:includes,
403
+ war:debug:excludes, war:debug:java_libs gives you a breakdown of what Warbler expects to package.
404
+
405
+ == 0.9
406
+
407
+ - Birthday! Warbler is a gem to make a .war file out of a Rails project. The intent is to provide a
408
+ minimal, flexible, ruby-like way to bundle up all of your application files for deployment to a
409
+ Java application server.
410
+ - Bundled versions: goldspike-1.4-SNAPSHOT and jruby-complete-1.0.1
411
+ - Works as both a gem (rake application) or a plugin
data/LICENSE.txt ADDED
@@ -0,0 +1,27 @@
1
+ = Warbler
2
+
3
+ Warbler is provided under the terms of the MIT license.
4
+
5
+ Warbler (c) 2013-2018 The JRuby Team
6
+ Warbler (c) 2010-2013 Engine Yard, Inc.
7
+ Warbler (c) 2007-2009 Sun Microsystems, Inc.
8
+
9
+ Permission is hereby granted, free of charge, to any person
10
+ obtaining a copy of this software and associated documentation files
11
+ (the "Software"), to deal in the Software without restriction,
12
+ including without limitation the rights to use, copy, modify, merge,
13
+ publish, distribute, sublicense, and/or sell copies of the Software,
14
+ and to permit persons to whom the Software is furnished to do so,
15
+ subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be
18
+ included in all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
24
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
25
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
26
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
data/Mavenfile ADDED
@@ -0,0 +1,32 @@
1
+ #-*- mode: ruby -*-
2
+
3
+ # tell the gem setup for maven where the java sources are
4
+ # and how to name the jar file (default path for the jar: ./lib )
5
+ gemspec( :jar => 'warbler_jar.jar',
6
+ :source => 'ext' )
7
+
8
+ properties( 'jruby.plugins.version' => '2.0.1',
9
+ 'jruby.version' => '9.2.21.0',
10
+ 'jetty.version' => '9.4.31.v20200723' )
11
+
12
+ # dependencies needed for compilation
13
+ scope :provided do
14
+ jar 'org.jruby:jruby', '${jruby.version}'
15
+ jar 'org.eclipse.jetty:jetty-webapp', '${jetty.version}'
16
+ end
17
+
18
+ plugin :compiler, '3.1', :source => '1.6', :target => '1.6'
19
+
20
+ plugin :invoker, '1.8' do
21
+ execute_goals( :install, :run,
22
+ :id => 'integration-test',
23
+ :properties => { 'warbler.version' => '${project.version}',
24
+ 'jruby.version' => '${jruby.version}',
25
+ 'jetty.version' => '${jetty.version}',
26
+ 'bundler.version' => '1.12.5',
27
+ 'jruby.plugins.version' => '${jruby.plugins.version}' },
28
+
29
+ :goals => ['verify'],
30
+ :projectsDirectory => 'integration',
31
+ :streamLogs => true )
32
+ end