buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbo...@apache.org
Subject svn commit: r698691 - /incubator/buildr/trunk/lib/buildr/java/bdd.rb
Date Wed, 24 Sep 2008 19:17:22 GMT
Author: vborja
Date: Wed Sep 24 12:17:22 2008
New Revision: 698691

URL: http://svn.apache.org/viewvc?rev=698691&view=rev
Log:
Use first argument for the extract jruby command

Modified:
    incubator/buildr/trunk/lib/buildr/java/bdd.rb

Modified: incubator/buildr/trunk/lib/buildr/java/bdd.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/lib/buildr/java/bdd.rb?rev=698691&r1=698690&r2=698691&view=diff
==============================================================================
--- incubator/buildr/trunk/lib/buildr/java/bdd.rb (original)
+++ incubator/buildr/trunk/lib/buildr/java/bdd.rb Wed Sep 24 12:17:22 2008
@@ -129,12 +129,12 @@
         puts "You need to install JRuby version #{jruby_artifact.version} using your system
package manager."
         puts 'Or you can just execute the following command: '
         puts
-        puts "   java -Djruby.home='#{jruby_home}' -jar #{jruby_artifact} -S extract"
+        puts "   java -jar #{jruby_artifact} -S extract '#{jruby_home}'"
         puts 
         print 'Do you want me to execute it for you? [y/N]'
         if gets.chomp.strip =~ /y(es)?/i
           jruby_artifact.invoke
-          Java::Commands.java('-jar', jruby_artifact.to_s, '-S', 'extract', :properties =>
{'jruby.home' => jruby_home})
+          Java::Commands.java('-jar', jruby_artifact.to_s, '-S', 'extract', jruby_home)
         end
         
         fail msg unless jruby_installed?



Mime
View raw message