Warbler - war task fails to build due to missing lib folder
-----------------------------------------------------------

                 Key: JRUBY-3382
                 URL: http://jira.codehaus.org/browse/JRUBY-3382
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: JRuby 1.1.6
         Environment: windows, jruby 1.1.6
            Reporter: Stefan Magnus Landrø
            Priority: Minor


Warbler fails to generate a war file when the lib folder in the rails project 
is missing. In addition, the error message is somewhat misleading.

:\projects\post-discrepancy>jruby -S warble --trace war
** Invoke war (first_time)
** Invoke war:app (first_time)
** Invoke war:gems (first_time)
** Invoke tmp/war/WEB-INF/gems/specifications/rails-2.2.2.gemspec (first_time, 
not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications (first_time, not_needed)
** Invoke C:/jruby-1.1.6/lib/ruby/gems/1.8/specifications/rails-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications/rake-0.8.3.gemspec (first_time, 
not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications (not_needed)
** Invoke C:/jruby-1.1.6/lib/ruby/gems/1.8/specifications/rake-0.8.3.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications/activesupport-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications (not_needed)
** Invoke 
C:/jruby-1.1.6/lib/ruby/gems/1.8/specifications/activesupport-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications/activerecord-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications (not_needed)
** Invoke 
C:/jruby-1.1.6/lib/ruby/gems/1.8/specifications/activerecord-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications/actionpack-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications (not_needed)
** Invoke 
C:/jruby-1.1.6/lib/ruby/gems/1.8/specifications/actionpack-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications/actionmailer-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications (not_needed)
** Invoke 
C:/jruby-1.1.6/lib/ruby/gems/1.8/specifications/actionmailer-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications/activeresource-2.2.2.gemspec 
(first_time, not_needed)
** Invoke tmp/war/WEB-INF/gems/specifications (not_needed)
** Invoke 
C:/jruby-1.1.6/lib/ruby/gems/1.8/specifications/activeresource-2.2.2.gemspec 
(first_time, not_needed)
** Execute war:gems
** Invoke tmp/war/WEB-INF/app (first_time, not_needed)
** Invoke tmp/war/WEB-INF/config (first_time, not_needed)
rake aborted!
Don't know how to build task 'lib'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1706:in `[]'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:770:in 
`out_of_date?'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:770:in `each'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:770:in `any?'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:770:in 
`out_of_date?'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:753:in `needed?'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:596:in 
`format_trace_flags'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:573:in 
`invoke_with_call_chain'
C:/jruby-1.1.6/bin/../lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in 
`invoke_with_call_chain'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in 
`invoke_prerequisites'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in 
`invoke_prerequisites'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in 
`invoke_with_call_chain'
C:/jruby-1.1.6/bin/../lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in 
`invoke_with_call_chain'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in 
`invoke_prerequisites'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in 
`invoke_prerequisites'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in 
`invoke_with_call_chain'
C:/jruby-1.1.6/bin/../lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in 
`invoke_with_call_chain'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in 
`invoke_task'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in 
`standard_exception_handling'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/aslakhellesoy-warbler-0.9.13/bin/warble:67
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in 
`standard_exception_handling'
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/aslakhellesoy-warbler-0.9.13/bin/warble:26
C:/jruby-1.1.6/lib/ruby/gems/1.8/gems/aslakhellesoy-warbler-0.9.13/bin/warble:19:in
 `load'
C:\jruby-1.1.6\bin\..\bin\warble:19


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to