Creating WAR

101 views
Skip to first unread message

Joseph Callen

unread,
May 27, 2014, 11:34:42 AM5/27/14
to hanlon-...@googlegroups.com

Is there a command line option that I am missing?  I have tried the interwebs for the error but haven't found a solution.

If we want to use google groups for questions like these let me know I can start posting there.

Do you guys have a custom config/warble.rb for this?


root@hanlon:/opt/hanlon# warble -t war
** Invoke war (first_time)
** Execute war
** Invoke war:files (first_time)
** Execute war:files
warble aborted!
No executable script found
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/traits/gemspec.rb:61:in `default_executable'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/executable_helper.rb:22:in `executable'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/executable_helper.rb:10:in `update_archive_add_executable'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/traits/gemspec.rb:53:in `update_archive'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/traits.rb:40:in `update_archive'
org/jruby/RubyArray.java:1613:in `each'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/traits.rb:40:in `update_archive'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/jar.rb:105:in `apply_traits'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/jar.rb:83:in `apply'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/task.rb:118:in `define_files_task'
org/jruby/RubyProc.java:271:in `call'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:236:in `execute'
org/jruby/RubyArray.java:1613:in `each'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:231:in `execute'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:175:in `invoke_with_call_chain'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:168:in `invoke_with_call_chain'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:161:in `invoke'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/task.rb:94:in `define_main_task'
org/jruby/RubyArray.java:1613:in `each'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/task.rb:93:in `define_main_task'
org/jruby/RubyProc.java:271:in `call'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:236:in `execute'
org/jruby/RubyArray.java:1613:in `each'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:231:in `execute'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:175:in `invoke_with_call_chain'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:168:in `invoke_with_call_chain'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/task.rb:161:in `invoke'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/application.rb:149:in `invoke_task'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/application.rb:106:in `top_level'
org/jruby/RubyArray.java:1613:in `each'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/application.rb:106:in `top_level'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/application.rb:115:in `run_with_threads'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/application.rb:100:in `top_level'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/application.rb:78:in `run'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/application.rb:165:in `standard_exception_handling'
/usr/local/rvm/rubies/jruby-1.7.12/lib/ruby/shared/rake/application.rb:75:in `run'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/lib/warbler/application.rb:77:in `run'
/usr/local/rvm/gems/jruby-1.7.12/gems/warbler-1.4.2/bin/warble:11:in `(root)'
org/jruby/RubyKernel.java:1081:in `load'
/usr/local/rvm/gems/jruby-1.7.12/bin/warble:1:in `(root)'
org/jruby/RubyKernel.java:1101:in `eval'
/usr/local/rvm/gems/jruby-1.7.12/bin/jruby_executable_hooks:15:in `(root)'
Tasks: TOP => war:files

Sankar Vema

unread,
May 28, 2014, 2:45:13 PM5/28/14
to hanlon-...@googlegroups.com
warbler requires config/warble.rb.  I am scripting this file, will post shortly...

Sankar Vema

unread,
May 30, 2014, 5:05:09 AM5/30/14
to hanlon-...@googlegroups.com
war scripting is almost done... but while testing I am finding some inconsistencies across trinidad, tomcat and Jboss. Will post code after thorough testing. It is getting delayed due to techcom planning


On Tuesday, 27 May 2014 21:04:42 UTC+5:30, Joseph Callen wrote:

Sankar Vema

unread,
Jun 12, 2014, 12:51:30 AM6/12/14
to hanlon-...@googlegroups.com
War file issue is fixed as part of pull https://github.com/csc/Hanlon/pull/57


On Tuesday, 27 May 2014 21:04:42 UTC+5:30, Joseph Callen wrote:
Reply all
Reply to author
Forward
0 new messages