Title: [858] trunk/rails-integration/plugins/goldspike: 14920 - Error when building standalone war on Windows in directory with a space in the name - Patch by Rob Di Marco
Revision
858
Author
tantalon
Date
2007-12-17 20:27:13 -0500 (Mon, 17 Dec 2007)

Log Message

14920 - Error when building standalone war on Windows in directory with a space in the name - Patch by Rob Di Marco

Modified Paths

Diff

Modified: trunk/rails-integration/plugins/goldspike/lib/packer.rb (857 => 858)


--- trunk/rails-integration/plugins/goldspike/lib/packer.rb	2007-12-17 22:33:06 UTC (rev 857)
+++ trunk/rails-integration/plugins/goldspike/lib/packer.rb	2007-12-18 01:27:13 UTC (rev 858)
@@ -52,7 +52,7 @@
       flags = '-cf'
       flags += '0' unless compress
       files_list = files.join(' ')
-      unless system("jar #{flags} #{os_target_file} -C #{os_source_dir} #{files_list}")
+      unless system("jar #{flags} \"#{os_target_file}\" -C \"#{os_source_dir}\" #{files_list}")
         raise "Error: failed to create archive, error code #{$?}"
       end
     end

Modified: trunk/rails-integration/plugins/goldspike-snapshot/lib/packer.rb (857 => 858)


--- trunk/rails-integration/plugins/goldspike-snapshot/lib/packer.rb	2007-12-17 22:33:06 UTC (rev 857)
+++ trunk/rails-integration/plugins/goldspike-snapshot/lib/packer.rb	2007-12-18 01:27:13 UTC (rev 858)
@@ -52,7 +52,7 @@
       flags = '-cf'
       flags += '0' unless compress
       files_list = files.join(' ')
-      unless system("jar #{flags} #{os_target_file} -C #{os_source_dir} #{files_list}")
+      unless system("jar #{flags} \"#{os_target_file}\" -C \"#{os_source_dir}\" #{files_list}")
         raise "Error: failed to create archive, error code #{$?}"
       end
     end
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to