Rake file prints error after running task
-----------------------------------------
Key: JRUBY-1916
URL: http://jira.codehaus.org/browse/JRUBY-1916
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.0.3
Environment: Win XP
Reporter: David Koontz
Rake will run a task ok but then prints out an error saying it cannot find the
task.
C:\ron_bravo\charlotte>jruby -S rake clean
(in C:/ron_bravo/charlotte)
C:/jruby-1.0.3/lib/ruby/gems/1.8/gems/rspec-1.1.0/lib/spec/runner/options.rb:216
:in `files_to_load': File or directory not found: clean (RuntimeError)
from
C:/jruby-1.0.3/lib/ruby/gems/1.8/gems/rspec-1.1.0/lib/spec/runner/options.rb:83:in
`each'
from
C:/jruby-1.0.3/lib/ruby/gems/1.8/gems/rspec-1.1.0/lib/spec/runner/options.rb:210:in
`files_to_load'
from
C:/jruby-1.0.3/lib/ruby/gems/1.8/gems/rspec-1.1.0/lib/spec/runner/options.rb:83:in
`run_examples'
from
C:/jruby-1.0.3/lib/ruby/gems/1.8/gems/rspec-1.1.0/lib/spec.rb:20:in `run'
from C:/jruby-1.0.3/lib/ruby/gems/1.8/gems/rspec-1.1.0/lib/spec.rb:34
from C:/jruby-1.0.3/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27
In this situation "clean" was run ok, the error pops up only when the task is
actually a real task. If I run something that is not defined:
C:\ron_bravo\charlotte>jruby -S rake clean2
(in C:/ron_bravo/charlotte)
rake aborted!
Don't know how to build task 'clean2'
So rake is clearly finding an actual task to run but for some reason
incorrectly generates an extra error message.
--
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