# File lib/rake/application.rb, line 569 569: def const_warning(const_name) 570: @const_warning ||= false 571: if ! @const_warning 572: $stderr.puts %{WARNING: Deprecated reference to top-level constant '#{const_name}' } + 573: %{found at: #{rakefile_location}} # ' 574: $stderr.puts %{ Use --classic-namespace on rake command} 575: $stderr.puts %{ or 'require "rake/classic_namespace"' in Rakefile} 576: end 577: @const_warning = true 578: end