public
Rubygem
Description: Apache Buildr
Homepage: http://incubator.apache.org/buildr
Clone URL: git://github.com/vic/buildr.git
Search Repo:
Use single string command for the java command on WindowsOS.


git-svn-id: https://svn.apache.org/repos/asf/incubator/buildr/trunk@656097 
13f79535-47bb-0310-9956-ffa450edef68
vic (author)
Tue May 13 20:50:49 -0700 2008
commit  c78f6369e7bdb5bb697801fd41d52de67f83024b
tree    227f2d086133515e45bbf1592d6dde87f616f36b
parent  bf2c2ef1cbeb3aef07c5ef07340071e398bc2eb9
...
50
51
52
 
53
54
55
...
50
51
52
53
54
55
56
0
@@ -50,6 +50,7 @@
0
           puts "Running #{name}" if verbose
0
           block = lambda { |ok, res| fail "Failed to execute #{name}, see errors above" unless ok } unless block
0
           puts cmd_args.join(' ') if Buildr.application.options.trace
0
+ cmd_args = cmd_args.map(&:inspect).join(' ') if Util.win_os?
0
           system(*cmd_args).tap do |ok|
0
             block.call ok, $?
0
           end

Comments

    No one has commented yet.