<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,6 +7,7 @@
 * Change: Updated to Rake 0.8.7, RSpec 1.2.6 and JRuby-openssl 0.5.1.
 * Fixed:  BUILDR-23 Support for setting file mode when packaging (Ittay Dror).
 * Fixed:  BUILDR-290 Dependencies cannot be downloaded over SSL.
+* Fixed:  BUILDR-291 Local tasks do not support arguments (Ittay Dror).
 
 1.3.4 (2009-04-21)
 * Added:  BUILDR-93 Add specs for ScalaCheck integration</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -317,11 +317,12 @@ module Buildr
       #
       # The optional block is called with the project name when the task executes
       # and returns a message that, for example &quot;Building project #{name}&quot;.
-      def local_task(args, &amp;block)
-        task args do |task|
+      def local_task(*args, &amp;block)
+        task *args do |task, args|
+          args = task.arg_names.map {|n| args[n]}
           local_projects do |project|
             info block.call(project.name) if block
-            task(&quot;#{project.name}:#{task.name}&quot;).invoke
+            task(&quot;#{project.name}:#{task.name}&quot;).invoke *args
           end
         end
       end</diff>
      <filename>lib/buildr/core/project.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a92c43f330602cd975e08b46d1a8a552a7f85c69</id>
    </parent>
  </parents>
  <author>
    <name>Assaf Arkin</name>
    <email>assaf@apache.org</email>
  </author>
  <url>http://github.com/assaf/buildr/commit/1bfc1a888630c992c1a36b97577a1c01cfed1fff</url>
  <id>1bfc1a888630c992c1a36b97577a1c01cfed1fff</id>
  <committed-date>2009-07-02T10:59:31-07:00</committed-date>
  <authored-date>2009-07-02T10:50:30-07:00</authored-date>
  <message>Fixed:  BUILDR-291 Local tasks do not support arguments (Ittay Dror).

git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@790695 13f79535-47bb-0310-9956-ffa450edef68</message>
  <tree>1dc621131be4b32c7d06ec02b0050ee4c6508888</tree>
  <committer>
    <name>Assaf Arkin</name>
    <email>assaf@apache.org</email>
  </committer>
</commit>
