You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/09/28 01:12:07 UTC

svn commit: r1527119 - in /buildr/trunk: CHANGELOG lib/buildr/java/commands.rb

Author: donaldp
Date: Fri Sep 27 23:12:06 2013
New Revision: 1527119

URL: http://svn.apache.org/r1527119
Log:
BUILDR-676 - Rework Java::Command:java so that it does not reject the :dir option. 

Reported by John Roth.

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/java/commands.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=1527119&r1=1527118&r2=1527119&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Fri Sep 27 23:12:06 2013
@@ -1,4 +1,6 @@
 1.4.13 (Pending)
+* Fixed:  BUILDR-676 - Rework Java::Command:java so that it does not
+          reject the :dir option. Reported by John Roth.
 * Added:  Auto-detect jpa provider in Intellij IDEA facet generation if
           persistence.xml file is present and provider not specified.
 * Added:  Auto-detect jruby version in Intellij IDEA facet generation if

Modified: buildr/trunk/lib/buildr/java/commands.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/java/commands.rb?rev=1527119&r1=1527118&r2=1527119&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/java/commands.rb (original)
+++ buildr/trunk/lib/buildr/java/commands.rb Fri Sep 27 23:12:06 2013
@@ -43,7 +43,7 @@ module Java
       def java(*args, &block)
         options = Hash === args.last ? args.pop : {}
         options[:verbose] ||= trace?(:java)
-        rake_check_options options, :classpath, :java_args, :properties, :name, :verbose
+        rake_check_options options, :classpath, :java_args, :properties, :name, :verbose, :dir
 
         name = options[:name]
         if name.nil?