You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Shane Witbeck (JIRA)" <ji...@apache.org> on 2010/04/28 00:07:34 UTC

[jira] Commented: (BUILDR-429) NoMethodError : undefined method `from' for []>:Rake::Tas

    [ https://issues.apache.org/jira/browse/BUILDR-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861577#action_12861577 ] 

Shane Witbeck commented on BUILDR-429:
--------------------------------------

I later realized I was using the wrong option for version ('buildr -v' instead of 'buildr --version'). However, if I run something like 'buildr clean' I get the same error above.

> NoMethodError : undefined method `from' for <Rake::Task spg:compile => []>:Rake::Tas
> ------------------------------------------------------------------------------------
>
>                 Key: BUILDR-429
>                 URL: https://issues.apache.org/jira/browse/BUILDR-429
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Windows, JRuby 1.5 RC1, Buildr 1.4RC3 (via http://people.apache.org/~toulmean/buildr/1.4.0RC3/dist/buildr-1.4.0-java.gem)
>            Reporter: Shane Witbeck
>
> Getting the following:
> C:\p4\spgp4\spg\beaver>jruby -S buildr -v --trace
> (in C:/p4/spgp4/spg/beaver, local)
> ** Invoke spg (first_time)
> ** Execute spg
> Buildr aborted!
> NoMethodError : undefined method `from' for <Rake::Task spg:compile => []>:Rake::Task
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/compile.rb:550:in `compi
> le'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/test.rb:645
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:664:in `call'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:664:in `call_
> callbacks'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:664:in `each'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:664:in `call_
> callbacks'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:216:in `defin
> e'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `call'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `execute'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:636:in `execu
> te'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:146:in `s
> witch_to_namespace'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:635:in `execu
> te'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:636:in `i
> nvoke_with_call_chain'
> c:/jruby-1.5.0.RC1/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:622:in `i
> nvoke_with_call_chain'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:617:in `i
> nvoke'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/util.rb:204:in `to_proc'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:281:in `each'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:281:in `proje
> cts'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/project.rb:968:in `proje
> cts'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:400:in `r
> aw_load_buildfile'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:218:in `l
> oad_buildfile'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:502:in `s
> tandard_exception_handling'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:213:in `l
> oad_buildfile'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:137:in `r
> un'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:502:in `s
> tandard_exception_handling'
> c:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:135:in `r
> un'
> C:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/bin/buildr:19
> C:/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/bin/buildr:19:in `load'
> c:/jruby-1.5.0.RC1/bin/buildr:19

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.