<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,6 +15,10 @@
 * [#7] Added support for Extlib::Hook in a few places.
 * [#41] Deprecate orm_support.rb
 * [#6] RJS support
+* [#49] Making sure the orm tasks is available when orm_support is removed from the app_config
+* [#49] mack-active_record:  mack-active_record.rb will require mack-active_record_tasks.rb
+* [#49] mack-data_mapper:  mack-data_mapper.rb will require mack-data_mapper_tasks.rb
+* [#49] Updated warning message if orm is defined in app_config (i.e. user only needs to require mack-[orm_name], instead of both that and mack-[orm_name]_tasks).
 * gem: application_configuration 1.5.1
 * gem: ruby-debug 0.10.0
 </diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@ unless orm.nil?
         orm: data_mapper
         from the app_config/default.yml file
     2.  In gem.rb, add the following line in the require_gems block:
-        gem.add &quot;mack-data_mapper&quot;, :version =&gt; &quot;0.6.0&quot;, :libs =&gt; [&quot;mack-data_mapper&quot;, &quot;mack-data_mapper_tasks&quot;]
+        gem.add &quot;mack-data_mapper&quot;, :version =&gt; &quot;0.6.0&quot;, :libs =&gt; [&quot;mack-data_mapper&quot;]
         ** if you use active record, then change it to mack-active_record instead of mack-data_mapper
     }
   Mack.logger.info &quot;Initializing #{orm} orm...&quot;</diff>
      <filename>lib/initialization/orm_support.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,10 +3,30 @@ require 'rake/testtask'
 require 'rake/rdoctask'
 require 'rubygems'
 require 'application_configuration'
+require 'mack-facets'
+require 'log4r'
 
 require File.join(File.dirname(__FILE__), &quot;initialization&quot;, &quot;configuration.rb&quot;)
+
+# Load all the supporting files, so we can load the required gems
+require File.join(File.dirname(__FILE__), &quot;core_extensions&quot;, &quot;kernel.rb&quot;)
+require File.join(File.dirname(__FILE__), &quot;utils&quot;, &quot;gem_manager.rb&quot;)
+require File.join(File.dirname(__FILE__), &quot;initialization&quot;, &quot;logging.rb&quot;)
+require File.join(Mack.root, &quot;config&quot;, &quot;initializers&quot;, &quot;gems.rb&quot;)
+Mack::Utils::GemManager.instance.do_requires
+
 orm = app_config.orm
 unless orm.nil?
+  Mack.logger.warn %{
+    Please note that setting up orm in app_config has been deprecated, and will not be supported in future mack releases.
+    Here's how to update your existing application:
+    1.  Remove the line:
+        orm: data_mapper
+        from the app_config/default.yml file
+    2.  In gem.rb, add the following line in the require_gems block:
+        gem.add &quot;mack-data_mapper&quot;, :version =&gt; &quot;0.6.0&quot;, :libs =&gt; [&quot;mack-data_mapper&quot;]
+        ** if you use active record, then change it to mack-active_record instead of mack-data_mapper
+    }
   require &quot;mack-#{orm}_tasks&quot;
 end
 </diff>
      <filename>lib/mack_tasks.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6455ed89edd2f9179f0fb0e806901ad82af474c3</id>
    </parent>
  </parents>
  <author>
    <name>dsutedja</name>
    <email>dsutedja@helium.com</email>
  </author>
  <url>http://github.com/markbates/mack/commit/69a51e3b1dea6244fb1cb1bb1347e2641fb4476d</url>
  <id>69a51e3b1dea6244fb1cb1bb1347e2641fb4476d</id>
  <committed-date>2008-07-23T08:44:22-07:00</committed-date>
  <authored-date>2008-07-23T08:44:22-07:00</authored-date>
  <message>fixed 'orm tasks aren't available' [#49 state:resolved]</message>
  <tree>18219558cedc53ece68a440f90889f1b93d85a30</tree>
  <committer>
    <name>dsutedja</name>
    <email>dsutedja@helium.com</email>
  </committer>
</commit>
