summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/lib/rake/classic_namespace.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/lib/rake/classic_namespace.rb')
-rw-r--r--ruby_1_9_3/lib/rake/classic_namespace.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/ruby_1_9_3/lib/rake/classic_namespace.rb b/ruby_1_9_3/lib/rake/classic_namespace.rb
new file mode 100644
index 0000000000..6e71012da4
--- /dev/null
+++ b/ruby_1_9_3/lib/rake/classic_namespace.rb
@@ -0,0 +1,11 @@
+# The following classes used to be in the top level namespace.
+# Loading this file enables compatibility with older Rakefile that
+# referenced Task from the top level.
+
+warn "WARNING: Classic namespaces are deprecated and will be removed from future versions of Rake."
+# :stopdoc:
+Task = Rake::Task
+FileTask = Rake::FileTask
+FileCreationTask = Rake::FileCreationTask
+RakeApp = Rake::Application
+# :startdoc: